Tags:
create new tag
, view all tags

Question

Hi. I'd like to force one specific topic to always be called using viewauth instead of view. Is there a simple way to do this ? I tried:

   * Set DENYTOPICVIEW = NullUser
Thinking that adding access control for a dummy user would force the use of viewauth on this topic, but it seems not so.

The reason I want to do this, is that we are using RequireRegistrationPlugin to force users to register before editing etc. and I want the $REMOTE_USER variable to be displayed in the LoginName field when this page is displayed, since this will remove the risk of users putting spaces in their LoginName etc.

Thanks for any advice.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RH 7.2
Web server: apache 1.3
Perl version: 5.6.0
Client OS: XP
Web Browser: Firefox
Categories: Permissions

-- SteveJonesST - 19 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I always used this, that works as you can see on this page:

Note that you will only see viewauth in the url if you use apache auth, not if you use templatelogin (but the effect is the same)

-- ColasNahaboo - 20 Apr 2008

I am escaping this example because it breaks the RSS feed (asking for authentication) and so that guests can look at this page.

-- PeterThoeny - 22 Apr 2008

 
Change status to:
Topic revision: r3 - 2008-04-22 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.