Description

When a page is read only for a user, attachment:picture won't be shown as a picture, but only the text `picture' . if a page is readable, its attachements should be also "readable", IMHO, otherwise a page with some links to picture attachments would look very different.

Example

test.png

Details

MoinMoin Version

1.3.0

Workaround

Discussion

There should be no difference in displaying a page with inlined attachments between user with write acl right or user with only read acl right.

HTML:

So difference must be in AttachFile action behaviour.

Solution: AttachFile macro was disabled when no write acl was there - at a very high level. This is wrong, as AttachFile has also read-only parts as getting a file attachment (showing pictures, downloading files, listing attachments) and write rights are checked deeper in AttachFile action.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/AttachmentsOnReadOnlyPages (last edited 2007-10-29 19:14:30 by localhost)