grafana/pkg/services/accesscontrol
Karl Persson 9d2f5ef62f
RBAC: Add function to generate wildcards from prefix (#54275)
* RBAC: Move metadata to own file

* RBAC: Rename test files

* RBAC: Add wildcard structure and helper function to generate wildcards
from prefix

* RBAC: Refactor filter to use WildcardsFromPrefix

* RBAC: Refactor GetResourceMetadata to use WildcardsFromPrefix
2022-08-26 17:10:35 +02:00
..
actest RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 2022-08-26 09:59:34 +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: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 2022-08-26 09:59:34 +02:00
resourcepermissions RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
accesscontrol.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +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 RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata_bench_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +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 RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
scope.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00