(option to) Disable content upload for users
As proposed in this Loomio thread.
What is the problem you are facing?
I would like to use Funkwhale as a sort of Spotify or Plex alternative, where my parents and other family can easily find and play our CD-collection around the house and on the go. To reduce UI possibly confusing or distracting UI elements, and to avoid content being removed should a user need to be deleted, I would like to see the introduction of a setting that disables upload options for all users (maybe except the admin(s), and/or direct server uploads via cli).
Proposed implementation
A new setting on instance-level which can be dis/enabled via a toggle in the admin settings (Admin > Settings > Users): "Enable user uploads" where option is active by default.
Disabling this setting overrides the instance-wide and user-specific upload quota, and hides relevant UI elements from the admin panel as well as any other UI element related to uploading. While disabling and re-enabling user uploads instance and user upload quota should be preserved.
This would require some reshuffling of the settings:
What are the possible drawbacks or issues with the requested changes?
It requires adding an extra setting that overrides others, and ideally affects also the API (so that upload functionality can be hidden also in third party apps.