SID-01496: Topic access restriction
| Status: |
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
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.