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

🐛 Fix user despositing to specific admin sets #876

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

kirkkwang
Copy link
Contributor

Story

This commit will add back the ability for everyone to be able to create a work. This is one of the conditionals that need to be met for a user to deposit a work to an admin set. The other is already being met, which is that the user has to have either a depositor role for that specific admin set or in a group that has a depositor role for that specific admin set.

Ref:

Expected Behavior Before Changes

Prior to this commit, even if a user was granted the role of depositor to an admin set, they could not add a work. If they were added in a group that had the depositor role, they still were not able to create a work.

Expected Behavior After Changes

Now, users who have the depositor role or in a group with the depositor role can deposit to admin sets.

Screenshots / Video

Screen.Recording.2023-10-18.at.16.09.56.mp4

This commit will add back the ability for everyone to be able to create
a work.  This is one of the conditionals that need to be met for a user
to deposit a work to an admin set.  The other is already being met,
which is that the user has to have either a depositor role for that
specific admin set or in a group that has a depositor role for that
specific admin set.

Ref:
  - #864
@ShanaLMoore ShanaLMoore temporarily deployed to demo October 18, 2023 23:24 — with GitHub Actions Inactive
@ShanaLMoore ShanaLMoore merged commit d40f22c into main Oct 19, 2023
5 of 7 checks passed
@ShanaLMoore ShanaLMoore deleted the i864-deposit-to-admin-set branch October 19, 2023 00:48
jeremyf pushed a commit to samvera/hyku that referenced this pull request Dec 19, 2023
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