Files
grafana/pkg/services/authz/rbac/models.go
T
Gabriel MABILLE a9f0e15778 AuthZ: Change cache interface (#99058)
* Authz: Switch to remotecache

* Todos

* lint

* lint test

* test readibility

* Remove ttls

* implement a cache wrap

* Rm unused func

* Comment

* Update workspace:

* Use cache

* Fix comment
2025-01-24 09:51:39 +01:00

32 lines
606 B
Go

package rbac
import claims "github.com/grafana/authlib/types"
type CheckRequest struct {
Namespace claims.NamespaceInfo
IdentityType claims.IdentityType
UserUID string
Action string
Group string
Resource string
Verb string
Name string
ParentFolder string
}
type ListRequest struct {
Namespace claims.NamespaceInfo
IdentityType claims.IdentityType
UserUID string
Group string
Resource string
Verb string
Action string
}
type FolderNode struct {
UID string
ParentUID *string
ChildrenUIDs []string
}