Misago icon indicating copy to clipboard operation
Misago copied to clipboard

Improve displaying of attachments to users without download permission

Open rafalp opened this issue 2 months ago • 1 comments

Attachments list in post

Misago should display post's attachments list under the post's body if user can't download attachments but post's contents are still visible (not hidden/unapproved). This will prevent confusion when somebody in post says they've attached the files but user without perms can't see any trace of them.

We should also use the padlock icon for attachment on list if there is no permission to download it.

Embedded attachments

Embedded attachment from other post is still rendered as button even if this attachment's post is not accessible.

"Attachment not available" message

Embedded attachment that user can't download has "You can't download attachments in this category." error which doesn't make sense if this embed is part of a quote from other category.

rafalp avatar Sep 30 '25 21:09 rafalp

I should make a decision if UI pointing to inaccessible attachments or posts should display links to it, so user gets permission error after following, or act like that content doesn't exist.

rafalp avatar Oct 02 '25 16:10 rafalp