Description

For some package actions when installing package you only have options to use author override from MOIN_PACKAGE manifesto or let things happen as magical author=u"Scripting Subsystem". This applies to at least AddAttachment. It would make sense for having some way of having the ACLs in operations to be checked against the installer (superuser), ie. now either package has to be customized against local ACLs (author column) or Scripting Subsystem fairy has to be assed to ACLs (and as a user)?

Error message seen in installation is: action add attachment: not enough rights - nothing done

Steps to reproduce

Try installing a MoinMoin package with

ReplaceUnderlay|SomePage|SomePage
AddAttachment|pic.png|pic.png|SomePage

in a wiki with ACLs

Example

Component selection

Details

MoinMoin Version

1.8.2

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Add author column to package line giving you trouble, choose author so that he has local ACL rights to do the action.

Nope, doesn't seem to work so I might have misdiagnosed to cause.

Discussion

Or is this just that you can't attach to underlay with moin packages?

since 1.9 you can add attachments to underlay see http://master19.moinmo.in/HelpOnPackageInstaller

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/PackageInstallerNotUsedForAllAclCheck (last edited 2009-11-28 08:35:58 by ReimarBauer)