Skip to content

In latest Sirenia and on pg.nurax (Ruby 3.3, Rails 7.2), transfer of work not working #7008

@jlhardes

Description

@jlhardes

This is only happening on Sirenia locally (Fedora 6) and on pg.nurax (PostGres) but not on dev.nurax (Fedora 4).

Accepting a transfer of a work and removing depositor access is not resulting in the new owner having access. The work shows in the new owner's list but thumbnail is default icon, visibility is private, and the work is not editable (message that user is unauthorized to edit the work). The other 2 "Accept" options - allowing depositor to retain edit access and authorize depositor as proxy - both allow new owner edit access, so only this particular option to remove depositor access is not working.

Steps to reproduce:

  • Log into the Dashboard
  • Navigate to the "Works" page
  • In the Actions drop-down menu for a work, select "Transfer Ownership of Work"
  • The "Transfer Ownership" page loads with options to search for a user and add comments
  • Search for a user in the "User" search box (one that you can also log in as)
  • Click the "Transfer" button, then confirm the transfer
  • The page will refresh and now contains a success message
  • The transfer request will appear in the "Transfers of Ownership" section
  • The new user must log in and review the transfer on the "Transfers" page to complete the transfer process
  • The new user clicks on the drop-down menu next to the "Accept" button and selects "Remove depositor access"
  • Transfer page will refresh to show Work was Accepted
  • Click on title of Work
  • The new user is unable to perform actions on the "Work" or files and sees an "Unauthorized" message (see screen shot)

Image

Metadata

Metadata

Labels

Type

No type

Projects

Status

QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions