mirror of
https://github.com/grafana/grafana.git
synced 2024-12-25 08:21:46 -06:00
26 lines
512 B
CUE
26 lines
512 B
CUE
package kind
|
|
|
|
name: "Role"
|
|
maturity: "merged"
|
|
description: "Roles represent a set of users+teams that should share similar access"
|
|
|
|
lineage: schemas: [{
|
|
version: [0, 0]
|
|
schema: {
|
|
spec: {
|
|
// The role identifier `managed:builtins:editor:permissions`
|
|
name: string
|
|
// Optional display
|
|
displayName?: string
|
|
// Name of the team.
|
|
groupName?: string
|
|
// Role description
|
|
description?: string
|
|
|
|
// Do not show this role
|
|
hidden: bool | false
|
|
} @cuetsy(kind="interface")
|
|
}
|
|
},
|
|
]
|