Tags:
create new tag
view all tags

SID-01496: Topic access restriction

Status: Answered Answered TWiki version: 5.1.1 Perl version: perl 5.10.1
Category: CategoryAccessControl Server OS: Ubuntu 10.04.4 LTS Last update: 13 years ago

I want to hide few topics in a web from other users, how can this be achieved? Also is there a way to hide list of accessible menu's from users? Example as an admin i want to view "Admin Maintenance" menu but i want to hide this menu from others. How can this be achieved?

-- SupriyaHandoo - 2012-07-02

Discussion and Answer

On access restriction, add a ALLOWTOPICVIEW setting. Details in TWikiAccessControl.

On conditional pulldown menu, do a %IF{ " '%WIKINAME%' ingroup 'TWikiAdminGroup' " ...}%. See examples at TopMenuSkinTopBar and TopMenuSkinTopicMenu (do a Raw View). Docs at IfStatements.

-- PeterThoeny - 2012-07-02

Hi Peter,

Thanks for the menu settings, it worked as i wanted it to on my test web.

Also i added DENYTOPICVIEW = " a user" , under web preferences of that web however that didn't work. Say i created a "TestTopic" topic under my test web but the blocked user can still access "TestTopic". Is there something that im missing here. Any help would be appreciated.

-- SupriyaHandoo - 2012-07-02

There is may be a sequence issue, you can't use deny & allow at the same time. In any case, I avoid deny because it is prone to user errors.

-- PeterThoeny - 2012-07-02

      Change status to:
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.
SupportForm
Status Answered
Title Topic access restriction
SupportCategory CategoryAccessControl
TWiki version 5.1.1
Server OS Ubuntu 10.04.4 LTS
Web server Apache 2.2.14
Perl version perl 5.10.1
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-07-02 - 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.