fyi.opensocial.putRole
Create or update a role and its grant. Requires group.configure.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Procedure
procedure · POSTInput
application/jsonWhat the role may do. Written as the scopes that grant each, beside any other scope the role already holds.
assignable
arraymaxLength: 64
bot
booleanWhether people with this role are bots: accounts that act on their own, not a person. Giving someone a bot role is how they are marked as one.
default
booleanWhether members get this role when they join. Omitted keeps the role's current value.
description
stringThe group DID. Every method is served by the group's host and authorized against that group's roles.
What the role is called. Written as the role record's displayName.
repoCollections
arrayCollections holders may write in the group's public repo as the group, `*` for any; written as `repo:` scopes. Omitted keeps the role's current value.
maxLength: 64
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
fyi.opensocial.role
recordDeclares that a role exists, in the members space. The record key is the role id, of 64 characters at most. A role is deleted only once no member holds it and the permissions record grants it nothing.
-
fyi.opensocial.assignRoles
procedureSet a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.
-
fyi.opensocial.permissions
recordGroup-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.
-
social.colibri.beta.role.create
procedureCreates a role in a community.
-
social.colibri.beta.role.update
procedureUpdates a role's settings.