New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

Set CHANGE permissions in Topic BlogCategory

I must limit the write access of topic "BlogCategory" but if I include in topic the rule "* Set ALLOW..." in the list of categories the text "ALLOW..." is included.

Unfortunately, in the various topic "Blogs" there are multiple calls to macro %SEARCH{...}% to generate the list of categories.

How can I solve my problem without alter all topics?

-- GuidoBrugnara - 25 Aug 2010

Review the MetaData - You can use
%META:PREFERENCE{name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="Main.AdminGroup"}%
to set preferences quietly in the metadata instead of using Set statements.

You could also hide Set statements in HTML comments <!-- -->

Finally, you could use STARTINCLUDE/STOPINCLUDE to define the region of text that should be include when you use INCLUDE.

-- PaulHarvey - 26 Aug 2010

Ok the first method (my thanks), but not the second (html comments) and the third (region).
Probably %SEARCH\% ignore them; could be due to some configuration unknown to me?

-- GuidoBrugnara - 27 Aug 2010

QuestionForm edit

Subject Using an extension
Extension BlogAddOn
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 27 Aug 2010, GuidoBrugnara - This page was cached on 23 Mar 2018 - 06:23.

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