Tags:
create new tag
, view all tags

Question

I have a twiki with fairly restricted access; several webs deny access to TWikiGuest, and require individuals to log in. When users hit Backlinks on restricted webs, the search fails; according to TWiki logs (/var/lib/twiki/log/...), the search program always runs as TWikiGuest, which is probably why the failure. The Backlinks search works in webs where TWikiGuest has access. Can this be changed - can I set search to run under the logged-in user's ID? How?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: debian 3.1
Web server: Apache/2.0.54
Perl version: 5.8.4
Client OS: OS X 10.3
Web Browser: Firefox 1.0.4
Categories: Permissions, Authorisation, Search

-- EdwardPiou - 23 Jul 2005

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.

You need to track users since the search and view scripts are not authenticated. This can be done by IP address (see TWikiUserAuthentication#Partial_Authentication) or with a session tracker plugin.

-- PeterThoeny - 23 Jul 2005

Actually, I had "view" set to be authenticated; your answer made me realize I could solve this problem by setting "search" to be authenticated in .htaccess. Now, the backlinks works.

-- EdwardPiou - 23 Jul 2005

 
Topic revision: r4 - 2005-07-24 - FranzJosefSilli
 
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.