Closed newmanld closed 7 years ago
@newmanld Did you ever get any other errors when working though this? I'm seeing an LDP::Gone exception now when I'm working to recreate and test with workers running.
It looks like the permission is being deleted successfully in Fedora, but the application is still trying to access it (which produces the LDP::Gone) - an examination of the document in Solr shows that the edit permission is still recorded there, which explains why the editor still has access.
I don't recall seeing any error messages. I was checking that edit access was appropriately revoked.
Confirmed the Ldp::Gone bug exists back in Sufia 7.2/Curation Concerns 1.6.3. Going to to dig deeper to see if this is specific to Sufia or is in CC as well. Will file a bug with the appropriate gem.
The Ldp::Gone error is a bug in hydra-head 10.4.0. Pinning to 10.3.0 for now resolves it.
So that let's us continue work on the original bug removed above.
Currently blocked by #1137
I'm still getting the Ldp::Gone error on Sufia 7.3.0.rc1 even with the newest active-fedora. I'll confirm the error again and will then re-open the issue so the community knows.
Test issue on curly.libraries.uc.edu
Tested this again now that the LDP::Gone error has been resolves and I verified that this bug has also been resolved (in both Sufia and our app). So marking as closed.
Size : 4
Descriptive summary
As an owner/depositor, I can share a work with others and grant edit access. If I remove this access, the removal is not taking place until the former editor edits the work one more time.
Expected behavior
When I remove edit access from an individual work, the change should take place in a reasonable amount of time. The former editor should not be able to edit the work one more time.
Actual behavior
The former editor still has access to the work that they should no longer be able to edit, until they edit that work one more time (and until that last edit, with or without changes, is saved). I have replicated this three times.
Steps to reproduce the behavior
Related testing
Probably wise to also test what happens, on a private or embargoed work, when View/Access is granted and then revoked.
See also #1024. Note that when Proxy access is revoked, the former proxy is left as an editor of works that they submitted.