grafana/pkg/services/accesscontrol/database
Gabriel MABILLE c7cabdfd6f
AccessControl: Add accesscontrol metadata to datasources DTOs (#42675)
* AccessControl: Provide scope to frontend

* Covering datasources with accesscontrol metadata

* Write benchmark tests for GetResourcesMetadata

* Add accesscontrol util and interface

* Add the hasPermissionInMetadata function in the frontend access control code

* Use IsDisabled rather that performing a feature toggle check

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2021-12-15 12:08:15 +01:00
..
database_test.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
database.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
resource_bench_test.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00
resource_test.go AccessControl: Add accesscontrol metadata to datasources DTOs (#42675) 2021-12-15 12:08:15 +01:00
resource.go AccessControl: Add accesscontrol metadata to datasources DTOs (#42675) 2021-12-15 12:08:15 +01:00
uid.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00