org.atgrp.policy

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.

Repository @lex.atgrp.org did:plc:4pt2cnpyvfgn5b7uxwn2shwv namespace authority
Details · object
Kindobject
Authorityatgrp.org
Commit rev3n36c4rde232u
Indexed

Object

object

Properties

grants

requiredarray

At most one entry per role.

  • maxLength: 100
itemsref
Reference

publicRead

boolean

If true, anyone may read the space.

  • default: false

unlisted

boolean

If true, the host leaves the space out of the group's space index. Ignored for the meta and members spaces.

  • default: false

#grant

object

A role's grants in one space. read and write apply to members acting as themselves; permissions apply to acting as the group.

Properties

Permissions for acting as the group in this space, one per item.

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

read

boolean

If true, members with this role may read the space.

  • default: false

role

requiredstring · record-key

A role record's key.

write

boolean

If true, members with this role are in the space's writer set, so their own records sync to readers.

  • default: false

Similar lexicons

semantic match

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

  • Who can access this space, in every space under the group. Grants apply only to this space. Members whose roles grant read may obtain space credentials and write their own records here. The group authority issues space credentials according to this record and nothing else.

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

  • Space policy for a tree of spaces under one authority. A root omits parent and admits members directly; a space with a parent admits only members of its parent.

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

  • Contents of an access record.