Lauri Ojansivu
d8b3579117
A card no longer offers the attachment "+" when uploads are blocked for the whole site.
...
#6870 asks for a site-wide switch that turns attachments off, because the
per-board allowsAttachments flag has to be set on every board. That switch is
there already: Admin Panel / Attachments / Transfer limits, "Attachments upload"
and "API upload" set to Blocked, and the server refuses on every path - the
upload pipeline, api.attachment.upload and .copy, and the /api/attachment
upload, upload-background and copy routes. What was missing is that the card
still showed the "+" button and accepted a drop for an upload that would be
refused.
attachmentUploadPolicy tells a signed-in client the one boolean (nothing about
the limits), asked at most once a minute, and the "+" and the drop/paste upload
follow it. No second setting is added, so there is nothing that could disagree
with what the server enforces. tests/attachmentUploadPolicy.test.cjs pins the
client, the method, and the server enforcement it relies on, and that no
"disableAttachments" setting exists.
Thanks to Raymond-Voogt and xet7 !
Refs #6870 , not closed: the reporter asked for a single Features checkbox, and the
two Blocked limits are two settings.
2026-11-04 19:07:09 +02:00
..
2026-10-14 13:39:18 +03:00
2026-10-14 14:00:21 +03:00
2026-11-02 18:49:19 +02:00
2026-11-04 19:07:09 +02:00
2026-10-27 16:28:12 +02:00
2026-11-04 19:04:12 +02:00
2026-10-25 03:18:15 +03:00
2026-10-27 21:45:43 +02:00
2026-11-03 17:19:22 +02:00
2026-11-02 00:04:03 +02:00
2026-09-28 17:48:00 +03:00
2026-09-28 21:46:56 +03:00
2026-10-11 14:19:00 +03:00
2026-07-28 17:59:17 +03:00
2026-10-17 01:14:16 +03:00
2026-07-28 12:13:03 +03:00
2026-07-22 09:21:21 +03:00
2026-10-20 13:50:10 +03:00
2026-10-23 19:34:34 +03:00
2026-10-14 14:25:19 +03:00
2026-10-16 13:03:34 +03:00
2026-10-14 16:46:15 +03:00
2026-10-31 14:13:40 +02:00
2026-10-08 12:05:59 +03:00
2026-10-14 15:25:36 +03:00
2026-10-31 00:07:58 +02:00
2026-10-14 22:57:15 +03:00
2026-10-14 09:49:42 +03:00
2026-11-02 14:15:02 +02:00
2026-10-27 16:28:12 +02:00
2026-10-02 11:43:37 +03:00
2026-06-06 02:53:58 +03:00
2026-10-20 13:28:17 +03:00
2026-09-11 21:17:33 +03:00
2026-10-16 13:03:34 +03:00
2026-09-29 16:40:48 +03:00
2026-07-13 09:16:32 +03:00
2026-09-11 21:17:33 +03:00
2026-11-02 17:17:58 +02:00
2026-10-16 23:45:35 +03:00
2026-10-14 16:46:29 +03:00
2020-02-13 14:58:19 +02:00
2026-09-10 22:11:01 +03:00
2026-10-07 03:08:48 +03:00
2026-10-16 13:03:34 +03:00
2026-09-10 20:20:35 +03:00
2026-10-03 08:52:16 +03:00
2026-03-22 17:17:48 +02:00
2026-10-16 13:03:34 +03:00
2026-10-30 23:52:09 +02:00
2026-10-14 08:20:49 +03:00
2026-10-08 11:55:42 +03:00
2026-10-19 17:35:51 +03:00
2026-10-12 01:30:07 +03:00
2026-10-16 23:45:35 +03:00
2026-10-23 19:34:34 +03:00
2026-10-20 13:50:10 +03:00
2026-08-16 14:57:18 +03:00
2026-09-29 16:28:44 +03:00
2026-10-16 23:45:35 +03:00
2026-10-14 15:52:07 +03:00
2026-10-14 21:45:34 +03:00
2026-10-14 08:25:25 +03:00
2026-10-31 00:08:20 +02:00
2026-03-21 11:32:56 +02:00
2026-10-14 08:20:49 +03:00
2026-10-08 12:44:46 +03:00
2026-10-31 14:54:22 +02:00
2026-10-13 21:08:09 +03:00
2026-11-02 14:37:12 +02:00
2026-10-14 17:07:35 +03:00
2026-09-10 19:59:02 +03:00
2026-10-23 19:34:34 +03:00
2026-10-08 11:43:32 +03:00
2026-10-15 22:42:14 +03:00
2026-10-14 09:28:45 +03:00
2026-11-02 11:28:44 +02:00
2026-08-16 16:17:13 +03:00
2026-08-04 12:09:37 +03:00
2026-10-08 11:03:50 +03:00
2026-10-23 19:34:34 +03:00
2019-07-18 04:27:03 +03:00
2026-10-05 19:48:48 +03:00
2026-07-30 15:57:58 +03:00
2026-10-16 13:03:34 +03:00
2026-10-11 22:46:45 +03:00
2026-10-14 14:59:25 +03:00
2026-10-31 14:54:22 +02:00
2026-10-27 20:57:38 +02:00
2026-08-29 06:01:39 +03:00
2026-10-14 08:20:49 +03:00
2026-09-05 23:51:02 +03:00
2026-10-31 14:13:40 +02:00
2026-10-14 12:43:36 +03:00
2026-10-14 14:30:10 +03:00
2026-09-29 13:57:51 +03:00
2026-10-11 23:30:56 -04:00
2026-10-15 00:33:30 +03:00
2026-10-13 18:27:25 +03:00
2026-10-14 12:43:36 +03:00
2026-10-16 13:03:34 +03:00
2026-10-03 01:47:19 +03:00
2026-10-30 23:50:02 +02:00
2026-10-14 16:49:21 +03:00
2026-10-14 09:28:45 +03:00
2026-06-19 11:37:44 +03:00
2026-10-14 14:55:04 +03:00
2026-10-27 21:26:30 +02:00
2021-06-14 15:11:21 +02:00
2026-10-14 21:45:34 +03:00
2026-07-17 03:07:59 +03:00
2026-09-07 17:03:59 +03:00
2026-10-14 15:13:09 +03:00
2026-10-13 14:20:56 +03:00
2026-10-13 14:20:56 +03:00
2026-10-14 12:43:36 +03:00
2026-10-27 21:14:23 +02:00
2026-10-14 13:59:19 +03:00
2026-10-14 15:44:01 +03:00
2026-10-16 23:45:35 +03:00