I am trying to upgrade my TWiki from Beta4 to Beta6, and to add the ActionTrackerPlugin from
TWiki:Plugins.TWiki
, where it says: "Untar and run the installer script".
In a plain Dakar Beta6, the TWiki web is writeable only for TWiki admins, which looks fine. However,
ActionTrackerPlugin_installer.pl
explicitly identifies himself as
{DefaultUserLogin}
, and subsequently fails:
AccessControlException: Access to CHANGE TWiki.ActionTrackerPlugin for TWikiGuest is denied. access not allowed on web
Ideologically I'd prefer to have a dedicated TWiki user for installation (if I have write access to the directories, I'm
mightier than a simple TWiki admin anyway), but there isn't such a role.
Pragmatically I allowed write access to the TWiki web, ran the installer, and removed write access again.
There should be a
correct solution as well?
I think setting the user to "TWikiAdminGroup" will solve this, but can't find the script in SVN to update it.
--
SP
This doesn't just apply to
ActionTracker, but to all plugins installed using the build contrib, so I'm changing the extension appropriately.
Steffen, the script in question is
twikiplugins/BuildContrib/lib/TWiki/Contrib/BuildContrib/TEMPLATE_installer.pl
. This is used as the template for all installers.
CC
Thanks for hinting, CC - I put a new "AdminUserWikiName" value in TWiki.cfg and pointed and that instead. Set to
TWikiAdminGroup by default.
Thanks for reporting this, Harald!
SVN 8581.
--
SP
While at it, made the installer script a bit more talkative and allowed it to really upload files to pub.
SVN 8585.
--
SP