-
Notifications
You must be signed in to change notification settings - Fork 78
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
Adding second manager removes edit_access of first manager #3148
Comments
@elrayle is this with 7.3.0.rc1? master? another commit/tag? |
master |
I just noticed that it also removed the |
@elrayle Based on the discussion over on https://gist.github.com/mjgiarlo/1945fa8a6f50eef2f9268af34f34dd47, I am inclined to hide the Admin Set Managers and Admin Set Viewers in the participants form in Sufia master, since neither is implemented yet (and doing feature work is out of scope now that we're at rc3). I'll ticket this work to be done in Hyrax, and it may be backported for a subsequent Sufia release if someone wants this in Sufia 7. Given that we're hiding Admin Set Managers, I'd also like to copy this ticket to Hyrax. How do you feel about that? |
Fixed in hyrax samvera/hyrax#567 |
Looks like the PermissionTemplateAccess is NOT created for each new manager. (I didn't verify the same applies for depositor and viewer, but suspect that it does.) Clicking Remove button for a manager tries to remove the non-existent PermissionTemplateAccess, but doesn't even try to remove the edit_access from the solr doc. |
Descriptive summary
When adding a Manager to an Admin Set, the Manager user gets edit_access to the Admin Set. When you add a second Manager to the Admin Set, the first user, who is still a manager, no longer has edit_access. The second Manager does have edit_access.
Expected behavior
When the second Manager is added, both managers will have edit_access to the Admin Set, as seen in the solr document for the Admin Set in Solr.
Actual behavior
When the second Manager is added, only the second Manager has edit_access to the Admin Set, as seen in the solr document for the Admin Set in Solr.
Steps to reproduce the behavior
Prerequisite: You will need 1 admin user and 2 non-admin users.
Primary Validation
edit_access_person_ssim
list.edit_access_person_ssim
list.EXPECTED: I would expect the
edit_access_person_ssim
to include both manager users.Secondary Validation: Manager can edit metadata in an Admin Set
I would expect that Managers of an Admin Set would be able to edit the metadata and set participants for an Admin Set. But I can't find a way through the UI for a non-admin user to edit Admin Sets.
Third Validation: Manager can add works to Admin Set
This verification is CORRECT for both users.
So something other than edit_access on the Admin Set is driving ability to select the Admin Set on New Work -> Relationships tab.
The text was updated successfully, but these errors were encountered: