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.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | opensocial.fyi |
| Indexed |
Showing version bafyreihui2qz57uwqlxkr54awiwamiqqe53siufusg2qwrxnhrmk3ccvy4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"grant": {
"description": "Scopes a role is granted across the group, and the roles its holders may assign.",
"properties": {
"assignable": {
"description": "Roles holders may grant or revoke, and whose holders they may eject.",
"items": {
"maxLength": 64,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"role": {
"description": "A role id: the record key of a fyi.opensocial.role record.",
"maxLength": 64,
"type": "string"
},
"scopes": {
"description": "OAuth scopes, one per item. May include permission sets. `repo:` scopes are the public-repo collections holders may write as the group.",
"items": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"maxLength": 100,
"type": "array"
}
},
"required": [
"role",
"scopes",
"assignable"
],
"type": "object"
},
"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.",
"key": "literal:self",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"grants": {
"description": "At most one entry per role.",
"items": {
"ref": "#grant",
"type": "ref"
},
"maxLength": 100,
"type": "array"
}
},
"required": [
"grants"
],
"type": "object"
},
"type": "record"
}
},
"id": "fyi.opensocial.permissions",
"lexicon": 1
}