Files
grafana/pkg/services/authz/rbac/store/models.go
T
Ieva 9b34a56d7c AuthZ service: Take action sets into account when checking folder create permissions (#98751)
take action sets into account when checking folder create permissions
2025-01-14 08:33:42 +00:00

50 lines
654 B
Go

package store
type UserIdentifiers struct {
ID int64
UID string
}
type BasicRole struct {
Role string
IsAdmin bool
}
type PermissionsQuery struct {
OrgID int64
UserID int64
Action string
ActionSets []string
TeamIDs []int64
Role string
IsServerAdmin 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
}