fyi. opensocial. permissions
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.
- Kind
- A record
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.permissions
main record
Record key: literal:self
| Field | Type | Description |
|---|---|---|
createdAt | string (datetime) | |
grants (required) | array of fyi.
| At most one entry per role. |
The schema as published
{
"defs": {
"main": {
"description": "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.",
"key": "literal:self",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"grants": {
"description": "At most one entry per role.",
"items": {
"ref": "fyi.opensocial.defs#groupGrant",
"type": "ref"
},
"maxLength": 100,
"type": "array"
}
},
"required": [
"grants"
],
"type": "object"
},
"type": "record"
}
},
"id": "fyi.opensocial.permissions",
"lexicon": 1
}