samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
184 stars 124 forks source link

Finding works shared with me #1240

Closed awead closed 7 years ago

awead commented 7 years ago

Descriptive summary

In Sufia, there was a Shared with Me tab in the dashboard that listed works or objects that the user had edit access to, but weren't owned by them. In Hyrax, that seems to have been removed. If an item is shared with me, I can edit it in Hyrax, but I can't find it easily unless I know what it is beforehand and locate via a regular search.

Is there a plan to restore that functionality to Hyrax or is something else intended?

ggeisler commented 7 years ago

@awead Something else is intended. The mockup below is from https://github.com/samvera-labs/hyku/issues/447 (though at this point I assume we would implement in Hyrax, not just Hyku) and shows that a user will see all works she has edit access to in the Your Works tab, with a column that indicates whether each work was one that was shared with her or one she deposited herself:

43ffcb26-f8ee-11e6-930f-6641832cda2f

This ticket has been around a while but is currently open.

awead commented 7 years ago

@ggeisler ah, that makes sense. Thanks for the clarification!

elrayle commented 7 years ago

To address this issue, app/search_builders/hyrax/my/works_search_builder.rb should be updated to return collections where...

It should not include collections where the read access is granted to the current user through PUBLIC visibility.