-
Notifications
You must be signed in to change notification settings - Fork 18
User with Editor role can't see private collection #96
Comments
Fixed by 436dab5 |
@mjgiarlo I just tested this functionality and it is not working as expected. I created a private collection titled "Private Collection to Test Editor Visibility" and gave a test account editor access When I log in with the test account, the collection does not display |
@mjgiarlo direct url access to the collection also doesn't display edit button. |
I've re-opened the Hyrax bug. thanks! |
Hyrax 1.0 - 2.0.0.rc1In Hyrax 2.0, you cannot see collections you did not create through Dashboard -> Collections -> Your Collections. I am fairly certain that has been the case for all releases (alpha - beta - rc) of Hyrax. In Sufia, you could see collections shared with you on the 'Shared with me' tab. In your steps to reproduce, you reference the All Collections tab. That tab is only shown to admin users. Perhaps your expectation that this used to work in alpha was because the test was done with an editor who was also an admin user. Hyrax collections-sprint branchIn collections-sprint branch, we have added an additional Managed Collections tab to Dashboard -> Collections. On that tab, you see collections for which you were granted :manage, :deposit, or :view access. Users will be able to view the admin show page for a collection if they have any of these access levels granted. |
FYI... works have the same issue where there is no way to see works shared with you through Dashboard -> Works FYI... There were previous discussions about incorporating Managed Collections and Managed Works into Hyrax 2.0 branch, but the consensus at the time was not to include it as it was too much new work and we were very close to a 2.0 release. This will be fixed in 2.1 when collections-sprint branch is merged into master. |
Fixes samvera-labs/nurax-pre2023#96 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
References samvera-labs/nurax-pre2023#96 Fixes #1742 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
Fixed in Hyrax, and will be deployed to Nurax in 2-3 minutes. For more on the fix and related work coming soon, see @elrayle's comments ☝️. |
@rjkati can you test this again? TY! |
@julesies Editing is now working as expected. |
References samvera-labs/nurax-pre2023#96 Fixes #1742 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
References samvera-labs/nurax-pre2023#96 Fixes #1742 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
References samvera-labs/nurax-pre2023#96 Fixes #1742 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
References samvera-labs/nurax-pre2023#96 Fixes #1742 With the refactoring of collection controllers to create two collection show pages (public and dashboard), someone given editor rights to a collection no longer has a way to get to the editing view. This change adds the actions onto the public show page to restore this feature until the collections sprint work is completed.
Copied here to confirm when fixed. Originally reported by @VivianChu samvera/hyrax#1742
For Hyrax 2.0.0.beta1, User with Editor role can't see a private collection created by other Users.
For Hyrax 2.0.0.alpha, Editor user can see private collection fine.
Rationale
To have same editor function as previous hyrax version.
Expected behavior
Editor User can see private collection created by Admin or other Users.
Actual behavior
Editor User can't see private collection.
Steps to reproduce the behavior
Log in as admin
Create a new collection, select private visibility
Log out
Log in as editor
Go to Dashboard: Collections: All collections
Click on a new collection created by admin user
Should see message "You are not authorized to access this page"
The text was updated successfully, but these errors were encountered: