grafana/pkg/services/accesscontrol
Karl Persson 3c659f1ea0
Access Control: Move part of access control database (#40483)
* Add accesscontrol migrations

* Add ResourceStore interface and related structs

* Add team/user/builtin-role

* Add accesscontrol database with functions to handle managed roles and
permissions

* Add ResourceManager

* Add GetUserPermissions

* Update pkg/services/accesscontrol/accesscontrol.go

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-11-11 14:02:53 +01:00
..
database Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
middleware Access control: Redirect non-API calls (#41100) 2021-11-04 09:59:52 +01:00
mock Accesscontrol: Add additional API keys to service account, move cloneserviceaccount to sqlstore (#41189) 2021-11-11 10:42:21 +00:00
ossaccesscontrol Accesscontrol: Add additional API keys to service account, move cloneserviceaccount to sqlstore (#41189) 2021-11-11 10:42:21 +00:00
accesscontrol.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
errors.go Revert "Revert "AccessControl: Implement a way to register fixed roles (#35641)" (#37397)" (#37535) 2021-08-04 14:44:37 +02:00
evaluator_test.go AccessControl: Extend scope parameters with extra params from context (#39722) 2021-10-06 13:15:09 +02:00
evaluator.go AccessControl: Extend scope parameters with extra params from context (#39722) 2021-10-06 13:15:09 +02:00
models.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
resource_manager.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
roles_test.go Revert "Revert "AccessControl: Implement a way to register fixed roles (#35641)" (#37397)" (#37535) 2021-08-04 14:44:37 +02:00
roles.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
scope_test.go AccessControl: tidy scope resolution (#40677) 2021-10-20 17:11:22 +02:00
scope.go AccessControl: tidy scope resolution (#40677) 2021-10-20 17:11:22 +02:00