Files
grafana/apps/iam/kinds/v0alpha1/rolespec.cue
T
Gabriel MABILLE 0417533b61 iam: add description field to roles (#107888)
* iam: add description field to roles

* Openapi gen

* Revert launch change
2025-07-10 15:13:13 -05:00

24 lines
361 B
CUE

package v0alpha1
RoleSpec: {
#Permission: {
// RBAC action (e.g: "dashbaords:read")
action: string
// RBAC scope (e.g: "dashboards:uid:dash1")
scope: string
}
// Display name of the role
title: string
description: string
version: int
group: string
permissions: [...#Permission]
// TODO:
// delegatable?: bool
// created?
// updated?
}