DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:classificationbanner

classificationbanner plugin

Compatible with DokuWiki

2009-02-14, rincewind, angua, weatherwax

plugin Display pages Classification

Last updated on
2009-06-03
Provides
Action

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with acl, annotations, users

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Details

Uses the ACL to display a banner describing the security classification of the current page.

So, for example, a page readable by the groups “foo”, “bar” and “baz” might display “Restricted: foo, bar, baz”. A page readable by everyone might say “Internal”.

The exact strings, and a set of group-name rewrites can be set through the configuration page.

I use this with LDAP-based authentication, but there is no reason for it to not work with any of the other authentication systems.

Discussion

Very handy plugin, thanks! Two questions:

  • Does it require the ~~NOCACHE~~ option to stay current with changing ACLs?
  • The layout on the edit page is messed up (Firefox 3.6.10). The edit box is shifted to the right, almost off the screen. Is there a fix? I just commented out line 135 of action.php but I'm sure there's a more elegant solution:
            // if($ACT == 'edit') { return true; }  // disabled: bad alignment of edit box when enabled
plugin/classificationbanner.txt · Last modified: 2015-04-04 05:26 by PatrickBrown