hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Transfer work: permissions not retained when granted by the receiving user

Open eporter23 opened this issue 1 year ago • 0 comments

Descriptive summary

In Sirenia, if a user transfers their work, and the receiving user accepts the transfer and selects the option to allow the original depositor to retain access, the access is not granted.

Steps to reproduce the behavior in User Interface (UI)

See also QA testing steps for W_1.14

  1. Login as basic_user (non-Admin)
  2. Go to the Dashboard > Works
  3. Click on the Actions menu, and select Transfer ownership of work
  4. Complete the steps to transfer the work to another user (admin user)
  5. Login as the admin user
  6. Go to Your Activity > Transfers
  7. Accept the transfer, and select the option to allow the original depositor to retain access
  8. Login as the basic_user
  9. Go to Your Activity > Transfers
  10. Click on the work you just transferred
  11. See "Unauthorized - the page you have tried to access is private" message

Actual behavior (include screenshots if available)

Sirenia docker image (Hyrax 5.0.1)

Acceptance Criteria/Expected Behavior

  • [ ] If a user transfers their work and the recipient grants them permission to retain access, the original depositor should still be able to see the works in the Dashboard > Works section

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.

Work transfers should continue to function as expected across all versions of Hyrax.

Related work

Link to related issues or prior related work here.

eporter23 avatar Aug 08 '24 13:08 eporter23