grafana/pkg/services/accesscontrol
Karl Persson 552d3fec8d
RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208)
* RBAC: Test evaluation before attaching mutator

* RBAC: Return error if no resolver is found for scope

* RBAC: Sync changes to evaluation in mock

* RBAC: Check for resolver not found error and just fail the evaluation in that case
2022-08-25 12:50:27 +02:00
..
actest RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
api RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
database RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
mock RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
ossaccesscontrol RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
resourcepermissions RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
accesscontrol_bench_test.go Chore: Remove last build tag (#50120) 2022-06-02 17:36:34 +00:00
accesscontrol_test.go Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
accesscontrol.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
errors.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
evaluator_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
evaluator.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
filter_bench_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
filter_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
filter.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
middleware_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
middleware.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
models.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
resolvers_test.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
resolvers.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
scope_test.go Access Control: Refactor scope resolvers with support to resolve into several scopes (#48202) 2022-05-02 09:29:30 +02:00
scope.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00