social.colibri.role

A named bundle of permissions assignable to community members. Lives on the community repo.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritycolibri.social
Indexed

Record

record · key tid

Properties

$type

string · nsid

The type of the record.

Per-channel permission overrides for this role.

itemsref
Reference
  • lex:social.colibri.role#channelOverride

color

string

Optional hex color displayed alongside the role (e.g. '#ff8800').

hoisted

boolean

Whether members of this role are displayed separately in the member list.

  • default: false

Whether `@role`-style mentions resolve to this role.

  • default: false

name

requiredstring

Display name of the role.

  • minLength: 1
  • maxLength: 32

permissions

requiredarray

Permission identifiers granted by this role.

itemsstring

A namespaced permission identifier. See AppView permission catalog.

position

requiredinteger

Hierarchy position. Higher values sit higher in the role hierarchy and outrank lower values.

protected

boolean

Whether this role is protected from modification or deletion. Set true for system-managed roles (e.g. the bootstrap 'Owner' role minted by `community.create`).

  • default: false

#channelOverride

object

Allow / deny lists scoped to a single channel.

Properties

allow

array

Permissions granted within this channel.

itemsstring

channel

requiredstring · record-key

The channel this override applies to.

deny

array

Permissions denied within this channel. Deny wins over base permissions and overrides allow.

itemsstring

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A named bundle of permissions assignable to community members.

  • A role that may be granted to members. Authority-written (ADR 0006). Roles carry no permissions of their own — they are named subjects that channel gates and the mint policy refer to (ADR 0007).

  • Updates a role's settings.

  • Declares that a role exists, in the members space. The record key is the role id, of 64 characters at most. A role is deleted only once no member holds it and the permissions record grants it nothing.

  • Creates a role in a community.