Message "You don't have sufficent permissions to use the DropzoneJS uploader. Contact your system administrator"

Created on 10 May 2023, over 1 year ago
Updated 11 May 2023, over 1 year ago

Problem/Motivation

When a user does not have permissions to use DropzoneJS, the dialog box does not show the "standard" file upload interface. Instead, it shows a warning message "You don't have sufficent permissions to use the DropzoneJS uploader. Contact your system administrator"

Steps to reproduce

  • Create a paragraph type with a field of type "Entity Reference" that allows for upload of files/images.
  • Create a user without permissions to use DropzoneJS
  • Try to add a content of the type created and try to upload a file

On DropzoneJS version 8.x-2.5 (Drupal 9.5.8), it shows the standard upload file button.
On DropzoneJS version 8.x-2.8 (Drupal 9.5.9), it gives the warning message.
I'm attaching images that shows each behaviour (including a 3rd one that is the expected behaviour for those with permission).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.8

Component

User interface

Created by

🇨🇦Canada aarantes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024