-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
25.0.0 - BugsCategory: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bug
Description
Describe the bug
When adding version permissions for a user, the "Unversioned" permission is also granted to that user unintentionally.
To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):
- Go to data_release
- Make sure that there is at least one file uploaded without a version (version will show up as "Unversioned"), and at least one file uploaded under a specified version
- Add permissions for a user to give them permission to the specified version
- See that the user now has permission to both the specified version, and "Unversioned"
What did you expect to happen?
When adding permissions to one version for a user, that user should have permission to only that version, and not "Unversioned". "Unversioned" should only be granted to a user if it is added as a permission on its own.
Metadata
Metadata
Assignees
Labels
25.0.0 - BugsCategory: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bug