Closed julesies closed 6 years ago
@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!
In 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.
In 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.
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 :point_up:.
@rjkati can you test this again? TY!
@julesies Editing is now working as expected.
Copied here to confirm when fixed. Originally reported by @VivianChu https://github.com/samvera/hyrax/issues/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"