-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add read permissions (#2849) #2879
Conversation
Adding the ability to see read permissions alongside of write permissions Added flag enablePermissionManagement to control UI element to assign permissions.
Added enablePermissionManagement to config/app.js Removed pureComputed from non-observable values.
@rkboyce : please pull this branch and test on your local environment. |
Three tests passed and one failed: Configuration 1:
Test 1: expected behavior - filtering of listed entities based on READ permissions by WebAPI User logs in and can view all of the entities that the user has READ permissions to (concept sets, cohort definitions, characterizations, cohort pathways, incidence rates, estimation, prediction) - Passed Test 2: ability to add READ/WRITE permissions to any entity that the user has WRITE permissions to User creates an entity or opens an existing entity that they have WRITE permissions for and can add READ/WRITE permissions to that entity for another user. The other user will be able to view (if given READ permissions) and edit (if given WRITE permissions) - Passed Test 3: ability to remove READ/WRITE permissions to any entity that the user has WRITE permissions to User opens an existing entity that they have WRITE permissions for and can remove the READ/WRITE permissions to that entity for another user. The other user will not be able to view (if READ permissions are removed) nor edit (if WRITE permissions are removed) that entity - Passed Configuration 2:
*Test 1: the icon to allow editing READ/WRITE permissions is removed from the permission configuration modal in Atlas With this Atlas configuration, there should no be an icon showing for the permission configuration modal for any of the entity types (concept sets, cohort definitions, characterizations, cohort pathways, incidence rates, estimation, prediction) - Failed
|
@rkboyce : I've updated the UI to hide permission assignment on IR and Pathways, as we discussed. Can you pull the branch and confirm? |
@chrisknoll - works perfectly! With that change, all tests above pass. Thanks! |
Adding the ability to see read permissions alongside of write permissions Added flag enablePermissionManagement to control UI element to assign permissions.