(name storepb.SettingName)
| 853 | } |
| 854 | |
| 855 | func (*SettingService) isSettingDisallowed(name storepb.SettingName) bool { |
| 856 | // Backend-only settings that should never be exposed via the API. |
| 857 | switch name { |
| 858 | case storepb.SettingName_SYSTEM: |
| 859 | // SYSTEM: Internal system settings (auth secret, workspace ID, enterprise license) |
| 860 | return true |
| 861 | default: |
| 862 | return false |
| 863 | } |
| 864 | } |
| 865 | |
| 866 | func validateApprovalTemplate(template *v1pb.ApprovalTemplate) error { |
| 867 | if template.Flow == nil { |
no outgoing calls
no test coverage detected