full diff

social.colibri.beta.role.update

colibri.social +0 −9
From
bafyreig7x23r26r7dfrfe77cqarscvqsv6e7pmxar5m36qy5jpnb7vvxea indexed 2026-10-24 10:36 UTC View this version
To
bafyreiglyntoy27wrnwkjzj3fhg6qdia5fzcq2wehr2a3dcjpc4ojx4lbm indexed 2026-11-14 11:13 UTC View this version

Compatibility

breaking 6 breaking changes, 0 non-breaking changes.

Breaking changes (6)
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.community.defs#roleChannelOverride" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.role.update:input.channelOverrides" }
  • RemovedVertex RemovedVertex { vertex_id: "social.colibri.beta.role.update:input.channelOverrides:items" }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.role.update:input", tgt: "social.colibri.beta.role.update:input.channelOverrides", kind: "prop", name: Some("channelOverrides") }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.role.update:input.channelOverrides", tgt: "social.colibri.beta.role.update:input.channelOverrides:items", kind: "items", name: None }
  • RemovedEdge RemovedEdge { src: "social.colibri.beta.role.update:input.channelOverrides:items", tgt: "social.colibri.beta.community.defs#roleChannelOverride", kind: "ref", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "social.colibri.beta.community.defs#roleChannelOverride" }
  • RemovedVertex { vertex_id: "social.colibri.beta.role.update:input.channelOverrides" }
  • RemovedVertex { vertex_id: "social.colibri.beta.role.update:input.channelOverrides:items" }

Notes

  • Breaking: RemovedEdge { src: "social.colibri.beta.role.update:input", tgt: "social.colibri.beta.role.update:input.channelOverrides", kind: "prop", name: Some("channelOverrides") }
  • Breaking: RemovedEdge { src: "social.colibri.beta.role.update:input.channelOverrides", tgt: "social.colibri.beta.role.update:input.channelOverrides:items", kind: "items", name: None }
  • Breaking: RemovedEdge { src: "social.colibri.beta.role.update:input.channelOverrides:items", tgt: "social.colibri.beta.community.defs#roleChannelOverride", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Updates a role's settings.",
66 "errors": [
77 {
88 "description": "The request is missing, malformed, or unverifiable service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The caller lacks the role.manage permission.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No community exists at the given DID.",
1717 "name": "CommunityNotFound"
1818 },
1919 {
2020 "description": "No role exists at the given record key.",
2121 "name": "RoleNotFound"
2222 },
2323 {
2424 "description": "The role is marked protected and cannot be modified.",
2525 "name": "RoleProtected"
2626 },
2727 {
2828 "description": "The change would place the role at or above the caller's highest role position, or grants a permission the caller does not hold.",
2929 "name": "RoleHierarchy"
3030 },
3131 {
3232 "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
3333 "name": "CredentialsUnavailable"
3434 }
3535 ],
3636 "input": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "badge": {
4141 "description": "An icon badge. Image badges are set with social.colibri.beta.role.putBadgeImage. Takes precedence over removeBadge.",
4242 "ref": "social.colibri.beta.community.defs#roleIconBadge",
4343 "type": "ref"
4444 },
45 "channelOverrides": {
46 "description": "Per-channel overrides.",
47 "items": {
48 "description": "A per-channel permission override.",
49 "ref": "social.colibri.beta.community.defs#roleChannelOverride",
50 "type": "ref"
51 },
52 "type": "array"
53 },
5445 "color": {
5546 "description": "Hex colour as #rrggbb.",
5647 "maxLength": 7,
5748 "type": "string"
5849 },
5950 "community": {
6051 "description": "The community the role belongs to.",
6152 "format": "did",
6253 "type": "string"
6354 },
6455 "emojiBadge": {
6556 "description": "An emoji badge. Cannot be combined with badge. Takes precedence over removeBadge.",
6657 "ref": "social.colibri.beta.community.defs#roleEmojiBadge",
6758 "type": "ref"
6859 },
6960 "hoisted": {
7061 "description": "Whether holders are listed separately in the member list.",
7162 "type": "boolean"
7263 },
7364 "mentionable": {
7465 "description": "Whether @role mentions resolve to this role.",
7566 "type": "boolean"
7667 },
7768 "name": {
7869 "description": "Display name.",
7970 "maxLength": 32,
8071 "minLength": 1,
8172 "type": "string"
8273 },
8374 "permissions": {
8475 "description": "Permissions granted by this role.",
8576 "items": {
8677 "description": "A namespaced permission identifier.",
8778 "type": "string"
8879 },
8980 "type": "array"
9081 },
9182 "position": {
9283 "description": "Hierarchy position. Higher outranks lower.",
9384 "type": "integer"
9485 },
9586 "removeBadge": {
9687 "description": "Removes the role's badge, whichever kind it is. Ignored when badge or emojiBadge is also given.",
9788 "type": "boolean"
9889 },
9990 "role": {
10091 "description": "The role's record key.",
10192 "format": "record-key",
10293 "type": "string"
10394 }
10495 },
10596 "required": [
10697 "community",
10798 "role"
10899 ],
109100 "type": "object"
110101 }
111102 },
112103 "output": {
113104 "encoding": "application/json",
114105 "schema": {
115106 "properties": {
116107 "role": {
117108 "description": "The updated role.",
118109 "ref": "social.colibri.beta.community.defs#roleView",
119110 "type": "ref"
120111 }
121112 },
122113 "required": [
123114 "role"
124115 ],
125116 "type": "object"
126117 }
127118 },
128119 "type": "procedure"
129120 }
130121 },
131122 "id": "social.colibri.beta.role.update",
132123 "lexicon": 1
133124}

Compare other versions