-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Drag and drop upload option displayed even when file uploads are disabled #7816
Copy link
Copy link
Closed
Closed
Copy link
Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interactiontype: bug
Description
Description:
Drag and drop functionality still active even when file uploads have been disabled. The eventual file upload fails with an accurate error message (file uploads being disabled), but it would reduce user confusion / efficiency to not allow the upload process at all.
Server Setup Information:
- Version of Rocket.Chat Server: 0.58
Steps to Reproduce:
- Disable file uploads in administration
- Navigate to any channel (e.g. #general)
- Drag a file onto the channel
Expected behavior:
I would expect nothing to happen as file uploads have been disabled.
Actual behavior:
I am shown a modal dialog and option to upload the file (which will always fail as file uploads are disabled).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interactiontype: bug