app.protoimsg.chat.role

Assign a moderator role to a user for a specific room.

Details · record, key tid
Kindrecord
Record keytid
Authoritychat.protoimsg.app
Indexed

Record

record · key tid

Properties

createdAt

requiredstring · datetime

Timestamp of role assignment.

role

requiredstring

The role being assigned.

  • knownValues: moderator | owner

room

requiredstring · at-uri

AT-URI of the room.

subject

requiredstring · did

DID of the user being assigned the role.

Similar lexicons

semantic match

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

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

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

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

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

  • An allowlist entry for a room. When the room has allowlistEnabled, only allowlisted users can send messages. Lives in the room owner/mod's repo.