Aaron Godin
86e8e3b75d
Revert "RBAC: Optimize permissions caching" ( #92548 )
...
Revert "RBAC: Optimize permissions caching (#92412 )"
This reverts commit 488e994d37 .
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-28 10:44:38 +02:00
Alexander Zobnin
488e994d37
RBAC: Optimize permissions caching ( #92412 )
...
* Access control: Use composite cache key for team permissions
* use composite key for teams
* use cache for hotpath (getCachedUserPermissions)
* fix linter
* fix sorting
---------
Co-authored-by: Jeff Levin <jeff@levinology.com >
2024-08-27 10:31:52 +02:00
Ryan McKinley
99d8025829
Chore: Move identity and errutil to apimachinery module ( #89116 )
2024-06-13 07:11:35 +03:00
Alexander Zobnin
0302b75721
Access control: Use search options for computing permissions cache key ( #87589 )
2024-05-10 12:06:52 +03:00
Alexander Zobnin
d1c582815a
Access control: Fix searching permissions from cache ( #87489 )
...
* Fix searching permissions from cache
* Write permissions to cache
2024-05-08 16:08:21 +02:00