0417533b61
* iam: add description field to roles * Openapi gen * Revert launch change
24 lines
361 B
CUE
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?
|
|
}
|