This question about Configuration: Answered

is it possible to have partial topic access?

The basic building block of a FOSwiki web is the topic, and topics are made up of sections, subsections, paragraphs,... is it possible to limit (for example) the "view" of a paragraph to a certain group while leaving the rest of the topic visible? What about a section? Otherwise stated, is it possible to have a conditional rendering (editing, etc) of some part of a topic depending on the group?

thanks in advance, P.P.


The smallest unit subject to access control in Foswiki is the topic. If you need to protect or hide pieces of a topic, they can be placed into a separate "restricted" topic and then included into the public topic. The warn="" parameter of the INCLUDE macro can be used to tell the user if the include failed, or silently fail. For example, for this Question, a restricted topic might be Question826Restricted and then in the topic:

%INCLUDE{"Question826Restricted" warn="<span class=\"foswikiAlert\">Not available</span>"}%

Not available

In this case the topic does not exist, but if it was not accessible, it would generate the same message.

-- GeorgeClark - 01 Aug 2011

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.1.2
Status Answered
Related Topics
Topic revision: r2 - 01 Aug 2011, GeorgeClark
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