Tags:
create new tag
, view all tags

Question

I want to deny access to the entire web for group of people (e.g: Main.TestGroup) but I want to give them access to some topics (e.g: TestTopic) in the same web.

I set DENYWEBVIEW = Main.TestGroup in the WebPreferences and set ALLOWTOPICVIEW = Main.TestGroup in the topic preferences.

When the group member tried to access the TestTopic (by entering the http url of the topic directly in the browser), it gave an error:

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
 
Undefined subroutine &TWiki::Contrib::EditContrib::Include41::isTrue called

How do I achieve what I want ?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000
Web server: Apache 1.3.39
Perl version: 5.008008 (cygwin)
Client OS: Windows XP
Web Browser: IE 6
Categories: Permissions

-- ChengappaCB - 16 May 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.

This is unrelated to access control, but rather a bug in EditContrib which has been reported but apparently not yet been fixed. The patch is available in SectionEditNotWorking (by Greg Gardinier) and in EditTablePluginDev.

-- HaraldJoerg - 23 May 2008

Thank you very much Harald. Row 93 of Include41.pm did the trick ! smile

-- ChengappaCB - 26 May 2008

 
Change status to:
Topic revision: r4 - 27 May 2008 - 05:53:59 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback