Skip to content

Interface: OrgRole

Interface: OrgRole

Defined in: auth-shared/src/dto/org.ts:38

Org-scoped role record. Returned by /orgs/{orgId}/roles. Custom roles authored by org admins coexist with system roles surfaced into the org.

Properties

code

code: string

Defined in: auth-shared/src/dto/org.ts:40


created_at?

optional created_at?: number

Defined in: auth-shared/src/dto/org.ts:46


description?

optional description?: string

Defined in: auth-shared/src/dto/org.ts:42


id

id: string

Defined in: auth-shared/src/dto/org.ts:39


is_system?

optional is_system?: boolean

Defined in: auth-shared/src/dto/org.ts:44

True for built-in roles the org can’t edit.


name

name: string

Defined in: auth-shared/src/dto/org.ts:41


permissions?

optional permissions?: string[]

Defined in: auth-shared/src/dto/org.ts:45