Tags:
create new tag
, view all tags

Bug: Create new User cause corrupt content of Topic TWikiUsers

When You create new Users the Topic TWikiUsers text will corrupt with message "No permission to read topic ecc. ecc.".

Probably it depend on permissions set in the archive ...

Test case

Create new User with TWiki.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE Linux 7.3
Web server: Apache 1.3
Perl version: 5.6.1
Client OS: Debian Sarge
Web Browser: Mozilla 1.6

-- GuidoBrugnara - 01 Jul 2005

Impact and Available Solutions

Follow up

 

Fix record

I have fix the problem in lib/TWiki/User.pm with disable read permission check:

# diff ../lib/TWiki/User.pm ../lib/TWiki/User.pm~
236c236
<     my( $meta, $text )  = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName, 1);
---
>     my( $meta, $text )  = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName);

Discussion

 
Topic revision: r1 - 2005-07-01 - GuidoBrugnara
 
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.