app.studynext.adminPermissions
Delegated StudyNext administrator capabilities for the repository owner. Singleton at rkey=self, stored in the StudyNext account's PDS and read by server authorization code. Treat as sensitive authorization state; repository records are publicly readable and this schema does not make the record private.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | studynext.app |
| Commit rev | 3n3kcoocjok2t |
| Indexed |
Checks
Validunlimited-stringdefs.entry.properties.read.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.entry.properties.roleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.entry.properties.write.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"entry": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"read": {
"items": {
"knownValues": [
"moderation",
"groups",
"analytics",
"appstats",
"blog"
],
"type": "string"
},
"type": "array"
},
"role": {
"knownValues": [
"read",
"write",
"admin"
],
"type": "string"
},
"write": {
"items": {
"knownValues": [
"moderation",
"groups",
"blog"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"did",
"role",
"read",
"write"
],
"type": "object"
},
"main": {
"description": "Delegated StudyNext administrator capabilities for the repository owner. Singleton at rkey=self, stored in the StudyNext account's PDS and read by server authorization code. Treat as sensitive authorization state; repository records are publicly readable and this schema does not make the record private.",
"key": "literal:self",
"record": {
"properties": {
"entries": {
"description": "Each DID appears once; write areas must be included in read areas, and role=read must have an empty write list. The current version-1 authorization parser rejects unknown roles and areas rather than broadening access.",
"items": {
"ref": "#entry",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"version": {
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
"required": [
"version",
"entries"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.studynext.adminPermissions",
"lexicon": 1
}