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
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.access
main record
Record key: literal:self
| Field | Type | Description |
|---|---|---|
grants (required) | array of fyi.
| At most one entry per role. |
people | array of fyi.
| 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. |
public | boolean
| Anyone signed in can read, member or not. |
writableBy | array of fyi.
| 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
}