Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x00
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Authorisation, Forms

-- 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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-04-14 - JoshKelley
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.