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.

Repository @studynext.app did:plc:nstib2qjcu3tyun7cxz4dxcm namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritystudynext.app
Commit rev3n3kcoocjok2t
Indexed
cid bafyreigkuohvrtvcprjwyobklplp4sjkwgdko7pcrvwei5pmmxqgxet644

Checks

Valid
  • unlimited-string defs.entry.properties.read.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.entry.properties.roleNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.entry.properties.write.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}