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 depositor role issue #2032

Merged
merged 5 commits into from
Oct 27, 2023
Merged

🐛 Fix depositor role issue #2032

merged 5 commits into from
Oct 27, 2023

Conversation

ShanaLMoore
Copy link
Collaborator

We implemented a fix for this bug in PALS and are contributing it back to Hyku.

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

NOTE

By default Hyku doesn’t actually include everyone_can_create_curation_concerns in the ability logic. It’s behind an ENV-controlled feature flipper, which by default is true (true in this case does not include everyone_can_create_curation_concerns since true == more restrictive permissions)

Shana Moore added 3 commits October 23, 2023 12:09
We implemented a fix for this bug in PALS and are contributing it back to Hyku.

Issue:
- notch8/palni-palci#864
We implemented a fix for this bug in PALS and are contributing it back to Hyku.

Issue:
- notch8/palni-palci#864
bkiahstroud
bkiahstroud previously approved these changes Oct 25, 2023
@ShanaLMoore ShanaLMoore merged commit dd0da80 into main Oct 27, 2023
@ShanaLMoore ShanaLMoore deleted the fix-depositor-role-issue branch October 27, 2023 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants