AuthZ: Scope resolution (#107948)
* AuthZ: Scope resolution * Account for PR feedback Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
This commit is contained in:
@@ -45,6 +45,10 @@ func folderCacheKey(namespace string) string {
|
||||
return namespace + ".folders"
|
||||
}
|
||||
|
||||
func teamIDsCacheKey(namespace string) string {
|
||||
return namespace + ".teams"
|
||||
}
|
||||
|
||||
type cacheWrap[T any] interface {
|
||||
Get(ctx context.Context, key string) (T, bool)
|
||||
Set(ctx context.Context, key string, value T)
|
||||
|
||||
Reference in New Issue
Block a user