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
21d4a4f49e
Auth: use IdentityType from authlib ( #91763 )
2024-08-12 09:26:53 +03:00
Ryan McKinley
728150bdbd
Identity: extend k8s user.Info ( #90937 )
2024-07-30 08:27:23 +03:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03: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