SID-02233: Reading/Views rights plus comments right
| Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
Perl |
| Category: |
CategoryAccessControl |
Server OS: |
CentOS 6.5 |
Last update: |
10 years ago |
Hi, I am new baby to TWiki. We have topics, which is editable and viewable to group A and viewable only to Group B. We now want to viewable/reading group B also has comments right, but could not make attachment and modify the content of the topics. Is that possible? And How to do it?
--
Juhani Shen - 2016-07-29
Discussion and Answer
TWiki's access control works on a whole topic. If you need different access control within a topic you can compose a topic using an
INCLUDE. In your case, you could restrict edit of the doc topic (such as
DocID123) to group B. That doc topic INCLUDEs a comment topic (such as
DocID123Comments), which is editable by group B. The comment topic has a COMMENT variable - all comments end up on that topic.
The doc topic can include the comment topic in a generic way, such as:
%INCLUDE{ "%TOPIC%Comments" }%
--
Peter Thoeny - 2016-08-03
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.