orchidsoftware/platform

No error message for 403 attachment exception

Open

#2,927 opened on 2024年11月27日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)PHP (629 forks)batch import
Errorshelp wanted

Repository metrics

Stars
 (4,045 stars)
PR merge metrics
 (平均マージ 3d 18h) (30d で 4 merged PRs)

説明

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.

コントリビューターガイド