Files
grafana/pkg
Alexander Zobnin 88259da745 RBAC: Optimize permissions caching (#92673)
* Access control: Use composite cache key for team permissions

* use composite key for teams

* use cache for hotpath (getCachedUserPermissions)

* don't cache empty teams set

* don't pass permissions as argument

* early return if no teams found

* reload cache correctly

* optimize allocations

* Clear user's teams cache

* remove composite cache for teams

* fix linter

* don't clear teams permissions

* pre-allocate memory for basic roles permissions
2024-09-03 15:46:56 +02:00
..
2024-09-03 15:43:36 +03:00
2024-08-21 11:40:42 -04:00
2024-08-21 11:40:42 -04:00
2024-08-30 11:59:42 +02:00
2024-08-13 10:18:28 +02:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.