Files
grafana/pkg/services/authz/rbac/models.go
Karl Persson bfa4fa3c68 Authz: Refactor folder tree (#99554)
* Refactor folder tree to its own structure

* Make it possible to json encode the tree

* Use iterations for Ancestors and Children

---------

Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
2025-02-11 12:36:11 +01:00

26 lines
512 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
}