Tags:
create new tag
, view all tags

Question

Hello,

when I restrict a web with ALLOWTOPICVIEW to a group of users, the Revision History denies view access, even if I am Main TWiki Administrator. Any idea, what I meade wrong? JR

Added Comment from JensRoeder:

I found out that the rdiffauth does work properly, only the switching from rdiff to rdiffauth does not. When checking the sent output, the Moved redirection leads to the deny oops:

Location: [...] /bin/oops/Termine/WebHome?template=oopsaccessview

instead to the rdiffauth. Any idea, why?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Authentication

-- JensRoeder - 10 Apr 2005

Answer

It looks like your installation does not track users, so rdiff always sees just TWikiGuest, also if it is you. Enable partial authentication (TWikiUserAuthentication#Partial_Authentication) or track the user with cookies.

-- PeterThoeny - 07 Jun 2005

I have had a similar problem from beginning, but never got time to diagnose it. Today, I looked at it bit closely.

The '>' links and 'Total page history' links on Topics controlled by either ALLOWTOPICVIEW or ALLOWWEBVIEW go via 'rdiff' instead of 'rdiffauth'.

.../twiki/bin/rdiff/KnowledgeBase/MyTopic?rev1=1.53&rev2=1.52

If I just change cut-n-paste the above URL in my browser and change 'rdiff' to 'rdiffauth', I get the expected results.

So, the '>' and 'Total page history' link generation in 'view' code needs to be fixed to use 'rdiffauth' instead of 'rdiff' when handling the protected topics (e.g. via ALLOWTOPICVIEW or ALLOWWEBVIEW).

-- RahulPandey - 19 Feb 2006

Just to confirm Peter Thoeny comment. When I do a compare revision, I get the Revision 17 is unreadable message in the result comparison page.

The access rights in my WebPreferences are set as follow:

#Set DENYWEBVIEW =
Set ALLOWWEBVIEW = TWikiAdminGroup , SAAMDeveloppersGroup, SAAMReadOnlyGroup 
The data/logxxxxxx.txt file does show rdiff being executed on behalves of TWikiGuest:
| 19 Jul 2007 - 15:16 | TWikiGuest | rdiff | SAAM.WikiSaamInstallationGuide | 6 5 Mozilla | 153.98.68.197 |
If I add TWikiGuest to the Set ALLOWWEBVIEW the problem disappears. (This is a quick fix and I really should follow Peter's recommendation if I want to keep my access rights as before)

Keywords for search engines: twiki revision unreadable

My configuration: TWiki-4.1.1, Mon, 05 Feb 2007, build 12770

-- MichelDenys - 20 Jul 2007

 
Topic revision: r5 - 2007-07-20 - MichelDenys
 
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.