fyi.opensocial.putRole
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create or update a role and its action bindings. Requires group.configure.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"actions": {
"items": {
"ref": "fyi.opensocial.permissions#action",
"type": "ref"
},
"type": "array"
},
"assignable": {
"items": {
"maxLength": 64,
"type": "string"
},
"type": "array"
},
"description": {
"type": "string"
},
"group": {
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
"format": "did",
"type": "string"
},
"name": {
"type": "string"
},
"repoCollections": {
"description": "See fyi.opensocial.permissions#binding. Omitted keeps the role's current value.",
"items": {
"type": "string"
},
"type": "array"
},
"role": {
"maxLength": 64,
"type": "string"
}
},
"required": [
"group",
"role",
"name",
"actions"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.putRole",
"lexicon": 1
}
Metadata
- DID
-
did:plc:2gqnilpksz2e7faj3bwvo6qc - CID
-
bafyreidfrhefred5wkqnth5jjs273dhj72whztv6xatljf7f4s5dvrzzfq - Indexed At
- 2026-09-25 03:15 UTC
- AT-URI
-
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.putRole
Version History (2 versions)
- 2026-09-25 03:15 UTC (current)
- 2026-09-24 00:10 UTC diff
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
fyi.opensocial.permissions record
The group's authorization config. Binds each role to a set of standardized actions and bounds role.assign and eject. Roles compose by union; there are no deny rules.
-
fyi.opensocial.assignRoles procedure
Set a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.
-
fyi.opensocial.putRule procedure
Create or update a rule. Requires group.configure. Fields are inlined rather than referencing fyi.opensocial.rule, because a record def cannot be used as an input object — same fix as updateProfile.
-
Updates a role.
-
social.colibri.beta.role.update procedure
Updates a role's settings.