SetVariablePlugin Development

This is the topic to discuss development of download SetVariablePlugin

help If you need support, go to Support.SetVariablePlugin where you can ask questions and find answers to previously asked questions. warning If you want to report a bug, or a feature request, go to Tasks.SetVariablePlugin where you can see already submitted issues and where you can submit a new bug report or feature request.

Active Items

Id Summary Priority Current State Creation Date Last Edit
Item12197 SetVariablePlugin: SETVAR: support field placeholders in "value" attribute Enhancement Waiting for Feedback 26 Oct 2012 - 14:57 26 Oct 2012 - 14:57



i want to use the SetVariablePlugin to create access control settings for topics in an easy way. Our wiki installation is used for project management. For each project a subweb is created, where access is generally limited to the project group through settings on WebPreferences topic. But even in the project there are some topics which shouldn't be visible to all project members. Thus, individuell permissions have to be set on this topics. Because most of the users are very unexperienced, i want to make it as easy as possible for them. So it would be great if all needed access control settings could be created with the use of only one short command.

I thought this could be done using the SetVariablePlugin, so i created some macros like this:

   * Set SEC_LEVEL_1 = --- Security Level: 1 
          value="FirstGroup, SecondGroup"
          value="FirstGroup, SecondGroup"

But now i have the following problem with this (on foswiki 1.0.6):

  1. I insert one of my defined macros (or even an SETVAR macro directly) in a topic. This works great and as expected for this topic.
  2. Now i'am editing another topic without using one of the defined macros on it. I would expect, that in this case no access control settings should be appended to this topic. But instead the last used settings (from the last SETVAR calls) will be added to the topic.

-- SebastianPinnau - 02 Aug 2009
Topic revision: r2 - 17 Nov 2009, MichaelDaum - This page was cached on 14 Jan 2020 - 21:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy