authelia/internal/authorization
James Elliott 1e30b00f7e
fix(validator): misleading warning for empty acl domains (#1898)
This fixes misleading errors for ACL rules with an empty list of domains. This also enables admins to have a default policy with zero ACL rules as long as the default policy is not deny or bypass. It also adds a rule number to all ACL rule related log messages which is the position in the YAML list plus 1. Lastly it adds comprehensive per rule HIT/MISS logging when Authelia trace logging is enabled. This trace logging includes the rule number.
2021-04-14 20:53:23 +10:00
..
access_control_domain.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
access_control_resource.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
access_control_rule.go fix(validator): misleading warning for empty acl domains (#1898) 2021-04-14 20:53:23 +10:00
access_control_subjects.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
authorizer_test.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
authorizer.go fix(validator): misleading warning for empty acl domains (#1898) 2021-04-14 20:53:23 +10:00
const.go fix(validator): misleading warning for empty acl domains (#1898) 2021-04-14 20:53:23 +10:00
types_test.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
types.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
util_test.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00
util.go perf(authorizer): preload access control lists (#1640) 2021-03-05 15:18:31 +11:00