org.atgrp.role

A group role and its group-wide grants, keyed by role ID. Role IDs follow label value syntax ([a-z-]+) and are at least 3 characters. Written by the group in the members space. Grants within a space live in that space's policy.

Repository @lex.atgrp.org did:plc:4pt2cnpyvfgn5b7uxwn2shwv namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityatgrp.org
Commit rev3n36c4s4hae2e
Indexed

Record

record · key any

Properties

Keys of roles this role may assign, or * for every role.

  • maxLength: 100
itemsstring
  • minLength: 1
  • maxLength: 512

default

boolean

If true, granted to members admitted through requestJoin.

  • default: false
  • maxLength: 20000
  • maxGraphemes: 2000

Defaults to the role ID.

  • maxLength: 640
  • maxGraphemes: 64

Group-wide permissions, one per item. For permissions not tied to one space, such as manage=create, rpc: permissions, and space:* grants.

  • maxLength: 100
itemsstring
  • minLength: 1
  • maxLength: 2000

Similar lexicons

semantic match

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

  • Group-wide grants for each role, in the members space: the OAuth scopes the role holds and the roles its holders may assign. Roles compose by union; there are no deny rules. A writer changes the grants only of roles they may assign, adds no scope their own roles do not hold, and lets no role assign one they may not.

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

  • Space policy for group spaces: each role's access and permissions in the space, whether it is public, and whether it is listed in the space index. The host always publishes it in the space as a com.atproto.space.policy record.

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

  • Grants a member their roles, in the members space. Written by the group authority; the record key is the member's DID. Writes are bounded by the writer's assignable roles. Creating one admits one waiting to join and decides their request; deleting one ejects the member.