Files
grafana/pkg/services/authz/rbac/store/models.go
T
Karl Persson 7329d2c34b Authz: Account for fixed roles when running oss and using authz service (#99244)
* Extract "PermissionStore" from general store interface

* Add static and union permission stores

* Add GetStaticRoles

* Use accesscontrol.Service for inproc to provide static permissions
2025-01-20 16:00:36 +01:00

40 lines
467 B
Go

package store
type UserIdentifiers struct {
ID int64
UID string
}
type BasicRole struct {
Role string
IsAdmin bool
}
type BasicRoleQuery struct {
UserID int64
OrgID int64
}
type UserIdentifierQuery struct {
UserID int64
UserUID string
}
type FolderQuery struct {
OrgID int64
}
type DashboardQuery struct {
OrgID int64
}
type Folder struct {
UID string
ParentUID *string
}
type Dashboard struct {
UID string
ParentUID *string
}