• 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.

It appears that the PublishContrib publishes as the user doing the publish process. This means that tricks such as making a cover for TWikiGuest in http://twiki.org/cgi-bin/view/TWiki04/PatternSkinCustomization don't work if you are publishing as a non-authenticated user.

Would providing an alternate user (usable only by TWikiAdminGroup) be appropriate?

e.g.

Update: I got this to work by having:

      * Set PUBLISHSKIN = anon,pattern
      * Set COVER = anon
      * Set WIKINAME = TWikiGuest
      * Set WIKIUSERNAME = guest 

Where anon was defined in twiki/templates/view.anon.tmpl as:

%TMPL:INCLUDE{"view.pattern"}%
%TMPL:DEF{"topicaction"}%%TMPL:END%
%TMPL:DEF{"toolbar"}%%TMPL:END%


TWiki scripts run as a user; it's a basic part of access controls. Glad you found a workaround!

CC

ItemTemplate
Summary Publish as TWikiGuest
ReportedBy TWiki:Main.MartinCleaver
Codebase

SVN Range Wed, 26 Apr 2006 build 9917
AppliesTo Extension
Component PublishContrib
Priority Enhancement
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-04-30 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback