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.


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~
<     my( $meta, $text )  = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName, 1);
>     my( $meta, $text )  = &TWiki::Store::readTopic( $TWiki::mainWebname, $topicName);


Topic revision: r1 - 2005-07-01 - GuidoBrugnara
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.