Skip to main content

cmind/permissions/v1/types.proto

Package: cmind.permissions.v1

Enums

SubjectType

ValueNumberDescription
SUBJECT_TYPE_UNSPECIFIED0
SUBJECT_TYPE_USER1
SUBJECT_TYPE_GROUP2

DeploymentRole

DeploymentRole is the union of user-managed roles across deployment resources. Per-resource validity (enforced server-side): rag_deployment: ADMIN, READER, WRITER model_deployment / external_model: ADMIN, DIRECT_INVOKER

ValueNumberDescription
DEPLOYMENT_ROLE_UNSPECIFIED0
DEPLOYMENT_ROLE_ADMIN1
DEPLOYMENT_ROLE_READER2
DEPLOYMENT_ROLE_WRITER3
DEPLOYMENT_ROLE_DIRECT_INVOKER4

Messages

Subject

FieldTypeNumberDescription
typeSubjectType1
idstring2

DeploymentPermission

FieldTypeNumberDescription
subjectSubject1
roleDeploymentRole2
metadataSubjectMetadata3metadata is populated by List responses only; writes ignore it. Absent when the referenced user or group can no longer be resolved (deleted from the identity provider) — clients should fall back to displaying the bare subject id.

SubjectMetadata

FieldTypeNumberDescription
userUserMetadata1
groupGroupMetadata2

Oneof kind: one of user, group

UserMetadata

FieldTypeNumberDescription
usernamestring1
emailstring2

GroupMetadata

FieldTypeNumberDescription
namestring1