com.publicdomainrelay.temp.auth.allowlist.rbacDid

johnandersen777.bsky.social

Documentation

Self-allowlist granting the record owner's DID access to their own account-scoped operations. Used by bidders and other automated actors to authorize AT Protocol writes (e.g. applyWrites) on their own repo via service-auth tokens.

main record

Self-allowlist granting the record owner's DID access to their own account-scoped operations. Used by bidders and other automated actors to authorize AT Protocol writes (e.g. applyWrites) on their own repo via service-auth tokens.

Record Key tid Timestamp-based ID

Properties

allowed unknown Required

Map of label → [did, ...] entries. Lists DIDs authorized under each label.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

protects unknown Required

Map of label → { service, scope } entries. Labels are arbitrary keys (e.g. 'allowSelf'). Each value has a service id and optional scope that must match for the protection to apply.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "protects",
      "allowed",
      "createdAt"
    ],
    "properties": {
      "allowed": {
        "type": "unknown",
        "description": "Map of label → [did, ...] entries. Lists DIDs authorized under each label."
      },
      "protects": {
        "type": "unknown",
        "description": "Map of label → { service, scope } entries. Labels are arbitrary keys (e.g. 'allowSelf'). Each value has a service id and optional scope that must match for the protection to apply."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Self-allowlist granting the record owner's DID access to their own account-scoped operations. Used by bidders and other automated actors to authorize AT Protocol writes (e.g. applyWrites) on their own repo via service-auth tokens."
}

Lexicon Garden

@