Skip to content

chore: rename role -> membership#546

Closed
gmaclennan wants to merge 2 commits intomainfrom
chore/rename-role
Closed

chore: rename role -> membership#546
gmaclennan wants to merge 2 commits intomainfrom
chore/rename-role

Conversation

@gmaclennan
Copy link
Copy Markdown
Member

Depends on https://github.com/digidem/mapeo-schema/pull/172 and a new version of @mapeo/schema being published.

Renames "role" to "membership".

New naming convention:

  • membership: each device in a project has a membership record, that defines their role in the project. The docId of a membership record is the device ID, and the only other property it currently has is the roleId assigned to the device.
  • role: a role record defines a set of capabilities. There are some built-in roles (project owner, blocked user, left project), and roles which in the future will be editable by project members ("coordinator" and "participant").

@gmaclennan gmaclennan self-assigned this Apr 9, 2024
@RangerMauve RangerMauve closed this Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants