mattermost-community/focalboard

Boards: try to attach image to card without permission shows wrong error msg

开放

#4,834 创建于 2023年3月30日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (2,542 个派生)user submission
Help WantedUp for grabs

仓库指标

星标
 (26,187 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Summary

When viewing a card where you only have commenter permissions and trying to attach an image, the error message indicates the file size is too large (it isn't) instead of stating that you don't have permission.

Steps to reproduce

See screen shot

Expected behavior

Error message should state you do not have permission to attach a file.

Observed behavior (that appears unintentional)

attach_file_without_permissions

贡献者指南