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

Depositors able to override admin set visibility restrictions #6822

Open
3 tasks
davidcam-src opened this issue Jun 3, 2024 · 0 comments · May be fixed by #6823
Open
3 tasks

Depositors able to override admin set visibility restrictions #6822

davidcam-src opened this issue Jun 3, 2024 · 0 comments · May be fixed by #6823

Comments

@davidcam-src
Copy link
Collaborator

davidcam-src commented Jun 3, 2024

Descriptive summary

  • Depositors can change the permissions of a work and its files in an admin set that should restrict these permissions.
  • Admin sets meant to only allow "Private" permissions are being overridden by non-admin users

Steps to reproduce the behavior in User Interface (UI)

Reproducing Issue: Public Work in Private Admin Set

  1. As a non admin user, create a new work in Nurax.
  2. Select an admin set with exclusive private visibility in the Relations tab.
  3. In the Sharing Settings tab, select "public" for "Add group"
  4. Fill out the form as usual and add a file. Note that private visibility is checked and is the only available visibility option. Check the deposit agreement and click save.
  5. Note that the deposited work has public visibility

Extra steps to make the file of the work public:

  1. Go to the dropdown for the file on the work page and select Edit
  2. Click the permissions tab and change it from private to public since admin set visibility restrictions aren't being applied to the radio buttons
  3. Save and note that the file is now public despite being in a private admin set

Acceptance Criteria/Expected Behavior

  • Depositors should not be able to change the permissions of a work or its files in an admin set that restricts these permissions.
  • In the Relations tab, only the "Private" visibility option should be selectable for works in the specified admin sets.
  • Admins should be able to override the admin set restrictions for setting permissions
davidcam-src added a commit that referenced this issue Jun 4, 2024
… options to restrict the visibility options provided to the user Closes #6822
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 a pull request may close this issue.

1 participant