open-consul/acl
Mark Anderson fa95afdcf6 Refactor to make ACL errors more structured. (#12308)
* First phase of refactoring PermissionDeniedError

Add extended type PermissionDeniedByACLError that captures information
about the accessor, particular permission type and the object and name
of the thing being checked.

It may be worth folding the test and error return into a single helper
function, that can happen at a later date.

Signed-off-by: Mark Anderson <manderson@hashicorp.com>
2022-02-11 12:53:23 -08:00
..
acl.go Rename partition-exports to exported-services 2021-12-03 17:47:31 -07:00
acl_oss.go
acl_test.go
authorizer.go
authorizer_oss.go
authorizer_test.go
chained_authorizer.go
chained_authorizer_test.go
errors.go Refactor to make ACL errors more structured. (#12308) 2022-02-11 12:53:23 -08:00
errors_oss.go Refactor to make ACL errors more structured. (#12308) 2022-02-11 12:53:23 -08:00
errors_test.go Refactor to make ACL errors more structured. (#12308) 2022-02-11 12:53:23 -08:00
policy.go
policy_authorizer.go
policy_authorizer_oss.go
policy_authorizer_test.go
policy_merger.go
policy_merger_oss.go
policy_oss.go
policy_test.go bulk rewrite using this script 2022-01-20 10:46:23 -06:00
static_authorizer.go
static_authorizer_test.go