fyi.opensocial.assignRoles

Set a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Procedure

procedure · POST

Input

application/json

group

requiredstring · did

The group DID. Every method is served by the group's host and authorized against that group's roles.

member

requiredstring · did

roles

requiredarray
itemsstring
  • maxLength: 64

Errors

NotAssignable

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Sets the complete set of roles a member holds.

  • social.colibri.community.setMemberRoles

    procedure not from the namespace authority

    Replaces the set of roles assigned to a member.

  • Approve a join request, giving the requester their roles. Requires admit. denyJoinRequest declines one.

  • Grants a member their roles, in the members space. Written by the group authority; the record key is the member's DID. Writes are bounded by the writer's assignable roles. Creating one admits one waiting to join and decides their request; deleting one ejects the member.

  • Remove a member and their access. Requires eject; every role the member holds must be in the caller's assignable set.