DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:classificationbanner

classificationbanner plugin

Compatible with DokuWiki

Rincewind, Angua, Adora Belle, Weatherwax

plugin Display pages Classification

Last updated on
2009-06-03
Provides
Action

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

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

Search and install the plugin using the Extension Manager. 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: 2023-10-30 23:25 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki