Skip to content

Drag and drop upload option displayed even when file uploads are disabled  #7816

@JonnyHeavey

Description

@JonnyHeavey

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:

  1. Disable file uploads in administration
  2. Navigate to any channel (e.g. #general)
  3. 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).

Metadata

Metadata

Assignees

Labels

area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactiontype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions