hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Sirenia docker image testing - works can't be transferred by an admin when feature flipper set to Off

Open eporter23 opened this issue 2 years ago • 0 comments

Descriptive summary

For Hyrax use case testing steps RA_1.9 in the worksheet, when the Features > Transfer works option is set to Off, an Admin user can see the option to Transfer works but is redirected to a Not Authorized error.

Steps to reproduce the behavior in User Interface (UI)

  1. Login as an Admin user
  2. Navigate to Settings > Features and ensure Transfer works is set to off
  3. Go to Dashboard > Works and select a work you have deposited as an admin user
  4. In the actions menu, select Transfer Ownership of Work
  5. Observe that you are redirected to the homepage with a banner indicating "You are not authorized to access this page."

Actual behavior (include screenshots if available)

Include what version of Hyrax relates to this issue (3.x, 4.x, main branch, etc.) if appropriate, and any relevant error messages/tracebacks if you're reporting a bug.

Sirenia docker image - Hyrax 5 rc2.

Screen Shot 2023-12-12 at 12 39 51 PM Screen Shot 2023-12-12 at 12 33 49 PM

Acceptance Criteria/Expected Behavior

  • [ ] An admin level user should either not see the option to Transfer works, or should see a new screen prompting the selection of a registered user to transfer the work to
  • [ ] An admin level user should not receive a not authorized error when initially starting this action

Rationale (for feature request only)

Provide the rationale or user story that describes "why" this issue should be addressed. Especially if this is a new feature or significant change to the existing implementation.

Admin users should be able to transfer works regardless of the Feature setting. This is the behavior noted in the test worksheet and confirmed in dev.nurax.

Related work

Link to related issues or prior related work here.

eporter23 avatar Dec 12 '23 17:12 eporter23