cmind/tenants/v1/tenant_role.proto
Package: cmind.tenants.v1
Enums
TenantRole
TenantRole is the closed access ladder within a tenant. Each level implies the ones below it (admin > editor > member). Backed by Keycloak subgroup membership (/admins, /editors) plus the tenant group itself, but callers only ever see the role. Shared by TenantService (member roles) and InviteService (the role granted on acceptance).
| Value | Number | Description |
|---|---|---|
TENANT_ROLE_UNSPECIFIED | 0 | |
TENANT_ROLE_MEMBER | 1 | |
TENANT_ROLE_EDITOR | 2 | |
TENANT_ROLE_ADMIN | 3 |