This question about Topic Markup Language and applications: Answered

Access control of multiple topics

Dear Foswiki Team,

I created a Topic Template, we´d like to use it for important informations about our customers. Part of this information are also some passwords, which must be secured. So I created a password Template and a button in the Topic Template to create a new Topic for each password.

The reason for the extra password Topic: The password Topic must contain AccessControl, the Topic itself can be accessed by erveryone.

I know, I can use the " * Set ALLOWTOPICVIEW = Main.Name, Main.Name, ....", but if I add this to the password Template, it will be the same for all newly created password Topics. If later a new user should get access to all password Topics, we would change the password Template to the new AccessControl, but this change will only take place for newly created password Topics, but not for the old ones.

I already tried to %INCLUDE% the " * Set ALLOW ....". This doesn´t work, because the AccessControl goes to the included Topic itself, but not to the password Topic, which contains the %INCLUDE%.

Pleas help,


-- ClemensAschenberger - 28 Aug 2012

The way to do this is to make use of Groups. For example, create a new Group called PasswordAccessGroup, and add the users who should be allowed to see all passwords. Then in your topic template for the Password topics, instead of adding individual users to the ACLs, authorize the PasswordAccesssGroup.
  * Set ALLOWTOPICVIEW = PasswordAccessGroup
. See WikiGroups for defining groups.

Thank you for the infromation, I completed the Topic.

QuestionForm edit

Subject Topic Markup Language and applications
Status Answered
Related Topics
Topic revision: r4 - 30 Aug 2012, ClemensAschenberger - This page was cached on 13 May 2019 - 13:01.

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