orchidsoftware/platform

No error message for 403 attachment exception

Open

#2,927 创建于 2024年11月27日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)PHP (629 fork)batch import
Errorshelp wanted

仓库指标

Star
 (4,045 star)
PR 合并指标
 (平均合并 3天 18小时) (30 天内合并 4 个 PR)

描述

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.

贡献者指南