Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename role -> membership #546

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

gmaclennan
Copy link
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
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.

1 participant