Closed hortongn closed 5 years ago
@hortongn On what env was this encountered? I can't recreate the bug on nurax or local/dev.
Hmm. I was running the app locally. I will try it again and report back here. We're you running :inline or :sidekiq?
@crowesn OK, I just did some more testing in my local environment and confirmed this:
Inline jobs: A user with a work created by a proxy DOES have edit access to attached files.
Sidekiq jobs: A user with a work created by a proxy DOES NOT have edit access to attached files.
So the problem exists for me when using sidekiq. See if you can replicate that behavior in your environment.
Created issue for this on hyrax. https://github.com/samvera/hyrax/issues/3416
We need to check with the community to see if they are intending to solve this with 3.0 release.
This might help : https://github.com/uclibs/scholar_uc/pull/1328/files
Descriptive summary
If I'm a proxy and create a work with some files attached on behalf of another user (the owner), that owner will have edit access to the work, but not to the files.
The owner should be able to edit any file sets created by their proxies.
This is probably a bug in our app where we broke it somewhere, but we should verify that Hyrax doesn't have the bug. You can test at https://nurax-dev.curationexperts.com
Steps to reproduce the behavior