grafana/pkg/services/accesscontrol
Gabriel MABILLE 9ed7e48454
AccessControl: Modify provisioning to prevent built-in role assignment (#48031)
* Add basic and managed prefixes to avoid magic strings
For now let's stick with grafana_builtins
add function isBasic to RoleDTO
add function isBasic to Role

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* Add team store to wire

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-04-21 14:14:45 +02:00
..
api AccessControl: Add endpoint to get user permissions (#45309) 2022-02-11 17:40:43 +01:00
database AccessControl: Modify provisioning to prevent built-in role assignment (#48031) 2022-04-21 14:14:45 +02:00
middleware AccessControl: Fix locked role picker in orgs/edit page (#46539) 2022-03-24 08:58:10 +01:00
mock AccessControl: Make the built-in role definitions public (#47525) 2022-04-12 09:53:43 +02:00
ossaccesscontrol AccessControl: Make the built-in role definitions public (#47525) 2022-04-12 09:53:43 +02:00
resourcepermissions Dashboard/Folder permission fix session (#47174) 2022-04-05 14:28:23 +02:00
accesscontrol_bench_test.go Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01: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 Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
errors.go AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
evaluator_test.go AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
evaluator.go AccessControl: improve denied message (#44551) 2022-01-28 12:17:24 +01:00
filter_bench_test.go Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
filter_test.go Access Control: Correctly check for id suffix (#46824) 2022-03-22 13:48:15 +01:00
filter.go Access control: SQL filtering for annotation listing (#47467) 2022-04-11 13:18:38 +01:00
models.go AccessControl: Modify provisioning to prevent built-in role assignment (#48031) 2022-04-21 14:14:45 +02:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go AccessControl: Make the built-in role definitions public (#47525) 2022-04-12 09:53:43 +02:00
scope_test.go Dashboard/Folder permission fix session (#47174) 2022-04-05 14:28:23 +02:00
scope.go Dashboard/Folder permission fix session (#47174) 2022-04-05 14:28:23 +02:00