diff options
Diffstat (limited to 'internal/configuration/validator/const.go')
| -rw-r--r-- | internal/configuration/validator/const.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/configuration/validator/const.go b/internal/configuration/validator/const.go index 26c057495..ebc83c380 100644 --- a/internal/configuration/validator/const.go +++ b/internal/configuration/validator/const.go @@ -333,7 +333,9 @@ const ( errFmtAccessControlRuleNetworksInvalid = "access_control: rule %s: the network '%s' is not a " + "valid Group Name, IP, or CIDR notation" errFmtAccessControlRuleSubjectInvalid = "access_control: rule %s: 'subject' option '%s' is " + - "invalid: must start with 'user:' or 'group:'" + "invalid: must start with 'user:', 'group:', or 'oauth2:client:'" + errFmtAccessControlRuleOAuth2ClientSubjectInvalid = "access_control: rule %s: option 'subject' with value '%s' is " + + "invalid: the client id '%s' does not belong to a registered client" errFmtAccessControlRuleInvalidEntries = "access_control: rule %s: option '%s' must only have the values %s but the values %s are present" errFmtAccessControlRuleInvalidDuplicates = "access_control: rule %s: option '%s' must have unique values but the values %s are duplicated" errFmtAccessControlRuleQueryInvalid = "access_control: rule %s: query: option 'operator' must be one of %s but it's configured as '%s'" |
