From
bafyreihui2qz57uwqlxkr54awiwamiqqe53siufusg2qwrxnhrmk3ccvy4
indexed 2026-10-27 17:22 UTC
View this version
To
bafyreihhfnfhz6gcrmgyxxrh3depfw52wtkno3oxzumnxtigshbwibrwba
indexed 2026-11-05 16:25 UTC
View this version
Compatibility
breaking 13 breaking changes, 2 non-breaking changes.
Breaking changes (13)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.assignable", kind: "prop", name: Some("assignable") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.role", kind: "prop", name: Some("role") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.scopes", kind: "prop", name: Some("scopes") }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.assignable" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.assignable:items" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.role" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.scopes" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.scopes:items" }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.permissions#grant.assignable", tgt: "fyi.opensocial.permissions#grant.assignable:items", kind: "items", name: None }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.permissions#grant.scopes", tgt: "fyi.opensocial.permissions#grant.scopes:items", kind: "items", name: None }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.permissions:body.grants:items", tgt: "fyi.opensocial.permissions#grant", kind: "ref", name: None }
- ConstraintTightened ConstraintTightened { vertex_id: "fyi.opensocial.permissions:body.grants:items", sort: "ref", old_value: "#grant", new_value: "fyi.opensocial.defs#groupGrant" }
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.defs#groupGrant" }
- AddedEdge AddedEdge { src: "fyi.opensocial.permissions:body.grants:items", tgt: "fyi.opensocial.defs#groupGrant", kind: "ref", name: None }
Migration guidance
Removed
RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant" }RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.assignable" }RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.assignable:items" }RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.role" }RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.scopes" }RemovedVertex { vertex_id: "fyi.opensocial.permissions#grant.scopes:items" }
Added
AddedVertex { vertex_id: "fyi.opensocial.defs#groupGrant" }
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "fyi.opensocial.permissions:body.grants:items", sort: "ref", old_value: "#grant", new_value: "fyi.opensocial.defs#groupGrant" }
Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.assignable", kind: "prop", name: Some("assignable") }
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.role", kind: "prop", name: Some("role") }
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.permissions#grant", src: "fyi.opensocial.permissions#grant", tgt: "fyi.opensocial.permissions#grant.scopes", kind: "prop", name: Some("scopes") }
- Breaking: RemovedEdge { src: "fyi.opensocial.permissions#grant.assignable", tgt: "fyi.opensocial.permissions#grant.assignable:items", kind: "items", name: None }
- Breaking: RemovedEdge { src: "fyi.opensocial.permissions#grant.scopes", tgt: "fyi.opensocial.permissions#grant.scopes:items", kind: "items", name: None }
- Breaking: RemovedEdge { src: "fyi.opensocial.permissions:body.grants:items", tgt: "fyi.opensocial.permissions#grant", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.permissions:body.grants:items", tgt: "fyi.opensocial.defs#groupGrant", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {4
"grant": {5
"description": "Scopes a role is granted across the group, and the roles its holders may assign.",6
"properties": {7
"assignable": {8
"description": "Roles holders may grant or revoke, and whose holders they may eject.",9
"items": {10
"maxLength": 64,11
"type": "string"12
},13
"maxLength": 100,14
"type": "array"15
},16
"role": {17
"description": "A role id: the record key of a fyi.opensocial.role record.",18
"maxLength": 64,19
"type": "string"20
},21
"scopes": {22
"description": "OAuth scopes, one per item. May include permission sets. `repo:` scopes are the public-repo collections holders may write as the group.",23
"items": {24
"maxLength": 2000,25
"minLength": 1,26
"type": "string"27
},28
"maxLength": 100,29
"type": "array"30
}31
},32
"required": [33
"role",34
"scopes",35
"assignable"36
],37
"type": "object"38
},394
"main": {40
"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.",5
"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. A writer changes the grants only of roles they may assign, adds no scope their own roles do not hold, and lets no role assign one they may not.",416
"key": "literal:self",427
"record": {438
"properties": {449
"createdAt": {4510
"format": "datetime",4611
"type": "string"4712
},4813
"grants": {4914
"description": "At most one entry per role.",5015
"items": {51
"ref": "#grant",16
"ref": "fyi.opensocial.defs#groupGrant",5217
"type": "ref"5318
},5419
"maxLength": 100,5520
"type": "array"5621
}5722
},5823
"required": [5924
"grants"6025
],6126
"type": "object"6227
},6328
"type": "record"6429
}6530
},6631
"id": "fyi.opensocial.permissions",6732
"lexicon": 16833
}