Question
We've set up a knowledge base, with access restricted to IT staff only, based on the sample
Know
web that shipped with Cairo. We now have a collection of KB entries classified NoDisclosure, PublicSupported, and PublicFAQ. We'd like to make all entries classified as PublicSupported or PublicFAQ readable by others while keeping NoDisclosure entries only viewable by us; how could I do this?
I don't see a way to set DENYTOPIC and ALLOWTOPIC based on form contents. It looks like
PublishContrib would work if I don't mind making a static copy of the wiki. Are there any other solutions?
Environment
--
JoshKelley - 12 Apr 2006
Answer
The original TWiki knowledge base for customer support generated static HTML pages from a subset of topics based on the topic classification. See
TWikiSuccessStoryOfTakeFive.
You probably could leverage the publishing with
PublishWebPlugin. That needs some enhancement where you could specify a rule what to publish.
An alternative approach is to write a small Plugin that hooks up to the
beforeSaveHandler to set the access permission each time on topic save. Access permissions can be set with a "Set" bullet and also with invisible meta data (the documentation for that is incomplete unfortunately).
--
PeterThoeny - 12 Apr 2006