hyrax
hyrax copied to clipboard
Hyrax-5844 - Cannot remove embargo from work - 2
Fixes #5844 ; refs #5572
Unembargoing a work under valkyrie throws an error
When deactivating an embargo on a work under koppie image/valkyrie, a TCP error is thrown by Hyrax::PermissionsController because it attempts to load ActiveFedora resource.
Proposed change(s):
- Update Hyrax::PermissionsController to
To test:
- In koppie/nurax-pg, navigate to a Work which contains an embargo
- Click the "Edit" button
- In the "Save Work" box on the right side, click the "Embargo Management Page" link in the Visibility section
- Click the "Deactivate Embargo" button
- Error message appears (see screenshot above)
@samvera/hyrax-code-reviewers