grafana/pkg/cmd
Alexander Zobnin 82dea4b3e5
Access control: Cache basic roles and teams permissions (#87043)
* RBAC: Cache basic roles permissions

* Cache teams permissions

* Set cache TTL to 1 minute

* Add OSS implementation

* Fetch basic role permissions correctly

* fix conflict_user_command

* Fix teams permissions query

* Add traces for GetUserPermissions

* Fix folders tests

* Fix colflict user command

* Update store mock

* Fix linter error

* Reuse GetUserPermissions for fetching basic roles

* tests for GetTeamsPermissions

* pre-allocate slice capacity

* Fix linter
2024-05-07 15:23:11 +02:00
..
grafana Plugins: Pass cancellable context during API server creation (#86545) 2024-04-19 09:22:14 +03:00
grafana-cli Access control: Cache basic roles and teams permissions (#87043) 2024-05-07 15:23:11 +02:00
grafana-server API Server: Standalone observability (#84789) 2024-03-21 17:06:32 +01:00