galterlibrary / digital-repository

DigitalHub - Institutional Repository for Galter Health Sciences
https://digitalhub.northwestern.edu/
5 stars 1 forks source link

[#1070] Disable File Uploads #1091

Closed Meowcenary closed 1 year ago

Meowcenary commented 2 years ago

Disable file uploads by setting max allowed files to zero, max file size to zero bytes, disabling the buttons that are used for file upload, and removing all links to the file upload page. closes #1070

Meowcenary commented 2 years ago

Works for me. People should still be able to edit (which is what we want, and in an ideal world, want only for librarians but that's ok), right?

Obviously this should not be merged/deployed until the opportune moment.

From what I saw the editing would still work fine. Yes, we're just going to have this ready for when the time comes.

mattbaumann1 commented 2 years ago

@Meowcenary went to look at another pull request and noticed this pull request hanging out. Is a review on this still needed?

fenekku commented 2 years ago

This PR is just waiting on the go from the decision team to make the transition to Prism before being merged. When it's merged and deployed, DigitalHub new entries will be disabled.

Meowcenary commented 2 years ago

Going to rebase this today since it has been sitting out here for awhile. I don't think there will be conflicts, but better to just stay up to date.

Meowcenary commented 1 year ago

I just rebased this so it should be good to go whenever we want to disable uploading. I'll test it out after I finish changes for #1117