tools.umbrae.private.rules

Who may see a private account's records, at self in its private space, written by the owner. Only the owner and the serving app read it. A viewer sees the records if they pass any rule, have no block with the owner either way (blocks, and list blocks either one subscribes to), and are active. The serving app checks on every read, so a change applies to every record at once. Without this record, approvedFollowers alone applies.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityprivate.umbrae.tools
Commit rev3n3doumk25k2e
Indexed

Showing version bafyreib5pfjho4zo33ut73xpydyigoxuqky5qiza3fmm7eumqgcoankzki. Show the latest

cid bafyreib5pfjho4zo33ut73xpydyigoxuqky5qiza3fmm7eumqgcoankzki

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "approvedFollowers": {
      "description": "Accounts the owner approved: at least one tools.umbrae.private.approval by the owner in this space names them. Following publicly grants nothing.",
      "properties": {},
      "type": "object"
    },
    "following": {
      "description": "Accounts the owner follows publicly (app.bsky.graph.follow).",
      "properties": {},
      "type": "object"
    },
    "list": {
      "description": "Members of one of the owner's own public lists. A list that isn't at://{owner}/app.bsky.graph.list/... grants nothing.",
      "properties": {
        "list": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "list"
      ],
      "type": "object"
    },
    "main": {
      "description": "Who may see a private account's records, at self in its private space, written by the owner. Only the owner and the serving app read it. A viewer sees the records if they pass any rule, have no block with the owner either way (blocks, and list blocks either one subscribes to), and are active. The serving app checks on every read, so a change applies to every record at once. Without this record, approvedFollowers alone applies.",
      "key": "literal:self",
      "record": {
        "properties": {
          "allow": {
            "description": "Any one admits. Empty: the owner alone. Unknown types grant nothing.",
            "items": {
              "refs": [
                "#approvedFollowers",
                "#following",
                "#mutuals",
                "#list"
              ],
              "type": "union"
            },
            "type": "array"
          },
          "approvalsInSpace": {
            "description": "True: approvedFollowers is the owner's tools.umbrae.private.approval records only. Absent or false: an account made private before approvals may still be migrating from its followers space; the client copies those members into approvals once, then sets this in the same write as the last batch.",
            "type": "boolean"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "allow",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mutuals": {
      "description": "Accounts that follow each other publicly with the owner.",
      "properties": {},
      "type": "object"
    }
  },
  "id": "tools.umbrae.private.rules",
  "lexicon": 1
}