Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an existing work to a collection changes work visibility and work does not appear in collection works list #6877

Open
rjkati opened this issue Aug 7, 2024 · 1 comment

Comments

@rjkati
Copy link

rjkati commented Aug 7, 2024

Descriptive summary

In Hyrax 5.0.1 running Sirenia, when I add an existing work with Public or Institution visibility, the work visibility changes to Private and the work does not appear in the Works section of the Collection admin page.

Steps to reproduce the behavior in User Interface (UI)

Pre-req: Make sure that you have a non-admin account with Depositor or Manager access to a collection and have deposited at least one work with Public or Institutional visibility.

  1. Run a local build of Sirenia using Docker
  2. Log into your Depositor or Manager account, navigate to Dashboard -> Collections and click on the title of your depositor or managed collection
  3. Click on Add existing works to this collection
  4. Select one or more works which you created that have Public or Institution visibility and click Add to collection -> Save changes
  5. Note that the work does not appear in the Works section of the Collection admin page
  6. Navigate to Dashboard -> Works and observe that the visibility of the work which you added is now Private.
  7. If you have an admin account, log in and verify that the work appears in the Works section of the Collection admin page

Actual behavior (include screenshots if available)

Adding an existing work to a collection changes the work visibility to private. Additionally the work does not appear in the collection admin works list, even if the user has permission to edit it.

Acceptance Criteria/Expected Behavior

Visibility should persist when adding an existing work to a collection. Additionally, works in the collection admin works list should be visible to users if they have permission to view or edit the work.

Related work

#6873

@rjkati
Copy link
Author

rjkati commented Aug 7, 2024

This issue does not occur on dev.nurax or pg.nurax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Test and Confirm Issue
Development

No branches or pull requests

1 participant