computer.localnetwork.staff.role

A staff role, keyed by the subject DID. Written only by the root account into the staff space.

Repository @localnetwork.computer did:plc:d42l64gsczg6qh2vo243xv5l not from the namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritystaff.localnetwork.computer
Commit rev3n2kadod4xm2k
Indexed

Record

record · key any

Properties

createdAt

requiredstring · datetime

grantedBy

requiredstring · did

grants

array

Extra powers a moderator holds. Admins have them all.

  • maxLength: 8
itemsstring
  • maxLength: 32
  • knownValues: flags | flagGroups

note

string
  • maxLength: 3000
  • maxGraphemes: 300

role

requiredstring
  • maxLength: 32
  • knownValues: admin | moderator

subject

requiredstring · did

Similar lexicons

semantic match

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

  • A staff member's role at the publication, stored in the publication's private staff space. The record key is the staff member's DID, so each person has at most one role.

  • A moderator role the community grants to a member. Written by the community account (the space authority) into its OWN repo within the server's public space, so any reader of the space can verify who may moderate (e.g. whose tech.tokimeki.forum.hide records to honour). rkey is derived from the subject DID ('m' + base32lower(sha256(did))[0:26]) so one record exists per member; delete it to revoke. Plain membership is not a record.

  • Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.

  • Grants moderator or admin standing on a forum. Lives in the forum account's repo, signed by the forum.

  • One member holds one role. Authority-written (ADR 0006) — a member cannot grant themselves a role, which is why this is not self-written the way membership is. The mint reads these to decide gated-channel credentials (ADR 0007).