-
Notifications
You must be signed in to change notification settings - Fork 239
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
feat: Added datadoc and list access permissions for user groups #1297
base: master
Are you sure you want to change the base?
Conversation
wow this is awesome! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you also update the version in package.json? Also it will be nice to add some docs for this new feature in the docs_website
…49/querybook into external/group-permissions
Co-authored-by: Ana <[email protected]>
…ternal/group-permissions
…49/querybook into external/group-permissions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jij1949 thanks for updating the PR. It looks good to me overall. Put some more comments.
Could you also update the version in package.json as well? thanks!
This PR takes the already implemented user groups and expands them so that they actually grant permissions to their members. These user groups can be assigned as editors for datadocs or lists, and can have read or write privileges. Groups can also be members of other groups, and therefore groups can also inherit permissions from other groups which they will then pass on to their members.
In addition, a user will always have the access level of its most permissive permission. For example, if a user is directly added to a datadoc with read-only permissions but is also a member of a group with edit permissions, the user will have edit permissions until the group is removed or the group permissions revoked.