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

[Develop] Disable Uploads #1070

Open
sharpattack opened this issue Aug 18, 2022 · 5 comments
Open

[Develop] Disable Uploads #1070

sharpattack opened this issue Aug 18, 2022 · 5 comments
Assignees
Labels
invenioRDM Migration/switch related work Migration Issues for DH to InvenioRDM migration

Comments

@sharpattack
Copy link
Collaborator

Switch to Prism, October 23, 2022.

We should add a banner to notify users of some info.

@sharpattack sharpattack added Migration Issues for DH to InvenioRDM migration invenioRDM Migration/switch related work labels Aug 18, 2022
@sharpattack
Copy link
Collaborator Author

What else should we disable?

  • Edit
  • Sign up
  • ?

@carsonicator
Copy link
Collaborator

carsonicator commented Aug 18, 2022

  • 1st Banner (late September, early October)
    • First banner to provide a warning that change is coming, DH will be read-only on [date], etc.
    • [Date TBD] (@kglibrarian to determine exact date and text to add)
  • 2nd Banner (October 23)
    • DH is now read-only, link to Prism
    • Banner will go the week of October 17 [TBD] (if launching on October 24), @kglibrarian to determine exact date and text to add
  • Disable the actions below on October 23 (if launching October 24) (@kglibrarian please weigh in here if I've forgotten something):

"Share your work" button:

Screen Shot 2022-08-18 at 12 46 35 PM

"Upload" and Create Collection" buttons:

Screen Shot 2022-08-18 at 12 47 36 PM

"upload" from the drop down menu on the right:

Screen Shot 2022-08-18 at 12 47 57 PM

"edit profile" button:

Screen Shot 2022-08-18 at 12 48 17 PM

"Upload" and Create Collection" buttons on the user dashboard page:

Screen Shot 2022-08-18 at 12 48 56 PM

"Download file" and "Delete file":

Screen Shot 2022-08-18 at 12 56 09 PM

  • Feedback from the 9/1/2022 Migration meeting...Look into possibilities for allowing individual users write permission, while having everyone else have read-only permissions. @gneidhardt may need to go into DH after the above changes are implemented so that she can do metadata work to prep any last minute uploads for Prism. Alternatively, we do a supplemental export/import for these records and edit them in Prism.

@Meowcenary Meowcenary self-assigned this Sep 13, 2022
@Meowcenary
Copy link
Collaborator

I was trying to approach this with roles and permissions, but it seems like the intended way to disable uploads is through javascript changes (samvera-deprecated/sufia#1814).

It's not the most graceful approach, but I think between disabling the file upload tool and removing any links to it we should be pretty well covered.

Meowcenary added a commit that referenced this issue Sep 15, 2022
Disable file uploads by setting max allowed files to zero, max file size
to zero bytes, and disabling the buttons that are used for file upload
closes #1070
Meowcenary added a commit that referenced this issue Sep 19, 2022
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 added a commit that referenced this issue Sep 19, 2022
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 added a commit that referenced this issue Sep 19, 2022
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 added a commit that referenced this issue Sep 19, 2022
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 added a commit that referenced this issue Nov 3, 2022
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
Copy link
Collaborator

Ticket for removing edit buttons: #1133

@fenekku fenekku changed the title Disable Uploads [Develop] Disable Uploads Mar 30, 2023
@fenekku
Copy link
Collaborator

fenekku commented Mar 30, 2023

From a development point of view, this looks done. I will make a separate ticket for operation of executing it.

Meowcenary added a commit that referenced this issue Mar 31, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invenioRDM Migration/switch related work Migration Issues for DH to InvenioRDM migration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants