com.livtet.bookClub.role

An owner-defined role for one club, written in the club owner's repo inside the club space. The record key is a TID, so a name is ordinary data that may change; renaming is still create-new plus delete-old so every assignment keeps pointing at a record that exists. The three built-ins (Owner, Moderator, Member) exist without a record; `Owner` can never have one.

Details · record, key tid
Kindrecord
Record keytid
AuthoritybookClub.livtet.com
Commit rev3n3l6fsqsg6kl
Indexed

Record

record · key tid

Properties

name

requiredstring

Display name. Immutable for the life of the record.

  • maxLength: 64

permissions

requiredarray

Permission keys from the app's catalogue. An unknown key grants nothing; an owner-only key is refused at the API.

  • maxLength: 64
itemsstring
  • maxLength: 64

rank

requiredinteger

Ordering for management: an actor may only act on a target of strictly lower rank. 100 is the owner's alone.

  • minimum: 1
  • maximum: 99

updatedAt

requiredstring · datetime

Similar lexicons

semantic match

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

  • An owner-defined role for one reading list, written in the list owner's repo inside the list space. The record key is a slug of `name`, so renaming is create-new plus delete-old. The three built-ins (Owner, Moderator, Member) exist without a record; `Owner` can never have one.

  • One club member's role, written in the club owner's repo inside the club space. The record key is the subject's DID, so a member holds at most one role: assigning again replaces it. `Owner` is never a value here — the club authority is the owner.

  • A member's role in the group. Written by the group authority into its repo in the space, never held as app database state — this is what makes a role survive the group changing app. The simplespace member list governs access; this record governs what the member may do once inside.

  • 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).

  • One list member's role, written in the list owner's repo inside the list space. The record key is the subject's DID, so a member holds at most one role. `Owner` is never a value here — the list's authority is the owner.