orchidsoftware/platform

No error message for 403 attachment exception

Open

#2927 aperta il 27 nov 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)PHP (629 fork)batch import
Errorshelp wanted

Metriche repository

Star
 (4045 star)
Metriche merge PR
 (Merge medio 3g 18h) (4 PR mergiate in 30 g)

Descrizione

Describe the bug If the user doesn't have permission to upload files ("platform.systems.attachment":"1"), the uploading fails with no error message.

To Reproduce Steps to reproduce the behavior:

  1. Create any field with attachment (i.e. Cropper)
  2. Remove system.attachment permission from the user
  3. Try to upload picture and crop

Expected behavior There should be error message on the frontend.

Guida contributor