Tags:
create new tag
view all tags

Question

Hello, I am trying to dynamically set permissions for the new topics created based on the parent topics.

My parent topic is General. I have a group called GeneralGroup. So whoever creates a topic under General should have the same access permissions as set in GeneralGroup.

This is what I have in the WebTopicEditTemplate.

Set ALLOWTOPICVIEW = Main.Group

When the above is resolved, apparently it comes to GeneralGroup, but the whole string is not coming as a link rather I would see General as a link and Group left out. I want to link the whole string as a link pointing to GeneralGroup Topic than just pointing to General Topic.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: CommentPlugin;EditTablePlugin;InterwikiPlugin;PreferencesPlugin;SlideShowPlugin;SmiliesPlugin;SpreadSheetPlugin;TablePlugin;TwistyPlugin;EmptyPlugin;RenderListPlugin;BreadCrumbsPlugin;FilterPlugin;FlexWebListPlugin;GluePlugin;IfDefinedPlugin;NatSkinPlugin;RedDotPlugin;JQueryPlugin;GoogleAjaxSearchPlugin;
Server OS: AIX 5.3
Web server: Apache 2.6
Perl version: 5.8.2
Client OS: MS Windows XP
Web Browser: MS IE 6.0
Categories: Permissions

-- PhaniYenugu - 30 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.

Since the new topic is not created yet, If I do Set ALLOWTOPICVIEW = PhaniYenugu and Set ALLOWTOPICCHANGE = PhaniYenugu it works. But If I use Main. (which is supposed to be resolved to the parenttopic for which the user has access) it does not work.....What could be the issue ?

-- PhaniYenugu - 31 May 2008

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Aug 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-08-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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.