• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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

ItemTemplate
Summary Extensions can't be installed on Dakar Beta6 using BuildContrib installer
ReportedBy TWiki:Main.HaraldJoerg
Codebase

SVN Range Beta6
AppliesTo Extension
Component BuildContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins 8581 8583 8584 8585
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-01-30 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback