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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-05-27 - PeterThoeny
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.