Skip to content

CreateRoleRequest

Defined in: src/types/rbac.ts:8

Request body for creating a new role.

policies: string[]

Defined in: src/types/rbac.ts:12

List of policy names to attach to this role.


optional role_level?: number

Defined in: src/types/rbac.ts:14

Privilege level of the role (lower is more privileged).


role_name: string

Defined in: src/types/rbac.ts:10

Name of the role.