Atmosphere GroupsOpen specificationBeta
MenuClose

fyi.opensocial.access

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.

Kind
A record
Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.access

main record

Record key: literal:self

FieldTypeDescription
grants (required)array of fyi.opensocial.defs#spaceGrant
  • array maxLength: 100
At most one entry per role.
peoplearray of fyi.opensocial.defs#accountRef
  • array maxLength: 100
A space for chosen people: those who read it and write in it in their own name while they are members, beside the roles granted read, who read it.
publicboolean
  • default: false
Anyone signed in can read, member or not.
writableByarray of fyi.opensocial.defs#audience
  • array maxLength: 50
Who may write into the space in their own name, when not every member whose roles grant read: role ids, or 'public' for anyone signed in.
The schema as published
{
  "defs": {
    "main": {
      "description": "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.",
      "key": "literal:self",
      "record": {
        "properties": {
          "grants": {
            "description": "At most one entry per role.",
            "items": {
              "ref": "fyi.opensocial.defs#spaceGrant",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          },
          "people": {
            "description": "A space for chosen people: those who read it and write in it in their own name while they are members, beside the roles granted read, who read it.",
            "items": {
              "ref": "fyi.opensocial.defs#accountRef",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          },
          "public": {
            "default": false,
            "description": "Anyone signed in can read, member or not.",
            "type": "boolean"
          },
          "writableBy": {
            "description": "Who may write into the space in their own name, when not every member whose roles grant read: role ids, or 'public' for anyone signed in.",
            "items": {
              "ref": "fyi.opensocial.defs#audience",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          }
        },
        "required": [
          "grants"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.access",
  "lexicon": 1
}

All lexicons