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

i1046-admin-can-deposit-works-into-collections-to-main #1048

Merged

Conversation

aprilrieger
Copy link
Contributor

@aprilrieger aprilrieger commented Jul 22, 2024

update the works controller decorator to remove params in collections_service method

Story

https://assaydepot.slack.com/archives/C0313NKC08L/p1721066260232569

A user is reporting an issue depositing works into collections they should have access to (as an admin).

This is on wabash.hykucommons.org

Refs #1046

Expected Behavior Before Changes

An admin could not add a work that they searched to a collection from the collection "Adds existing works to collection"
An admin could not add a work they searched for in the my/works page through the "Add to Collection button"

Expected Behavior After Changes

An admin can add a work that they searched to a collection from the collection "Adds existing works to collection"
An admin can add a work they searched for in the my/works page through the "Add to Collection button"

Screenshots / Video

Video of local demo of fix: https://share.zight.com/eDuKOD28

Click for BEFORE FIX Screenshots Before: Screenshot 2024-07-22 at 15 09 19 Screenshot 2024-07-22 at 15 10 29

@aprilrieger
Copy link
Contributor Author

aprilrieger commented Jul 22, 2024

Tested on demo
video: #1048

Before fix on demo screenshots Screenshot 2024-07-22 at 15 47 12 Screenshot 2024-07-22 at 15 46 20
After fix on demo screenshots Screenshot 2024-07-22 at 15 51 05 Screenshot 2024-07-22 at 15 49 39

@ShanaLMoore
Copy link
Contributor

Just noting that I don't think the knapsack will need this fix since they are on hyrax 5

@aprilrieger aprilrieger merged commit 9762688 into main Jul 23, 2024
7 checks passed
@aprilrieger aprilrieger deleted the i1046-admin-can-deposit-works-into-collections-to-main branch July 23, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants