grafana/pkg/services/accesscontrol
Jguer 90a94eab74
Dashboard/Folder permission fix session (#47174)
* Fix inherited scopes for dashboard to use folder uid

* Add inherited evaluators

* Slight modification of the commments

* Add test for inheritance

* Nit.

* extract shared function from tests

* Nit. Extra line

* Remove unused comment

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-04-05 14:28:23 +02:00
..
api AccessControl: Add endpoint to get user permissions (#45309) 2022-02-11 17:40:43 +01:00
database Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
middleware AccessControl: Fix locked role picker in orgs/edit page (#46539) 2022-03-24 08:58:10 +01:00
mock Adding FGAC annotations validation for creation and deletion (#46736) 2022-03-21 14:28:39 -03:00
ossaccesscontrol Dashboard/Folder permission fix session (#47174) 2022-04-05 14:28:23 +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: use uid for dashboard and folder scopes (#46807) 2022-03-30 15:14:26 +02:00
models.go update docs, simplify actions and scopes (#47067) 2022-04-04 13:53:58 +01:00
roles_test.go Access Control: Rename fixed roles (#41288) 2021-11-17 15:40:39 +01:00
roles.go Access Control: Rename global users scope (#46794) 2022-03-22 12:48:46 +01: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