====== classificationbanner plugin ====== ---- plugin ---- description: Display pages Classification author : Jarrod Lowe email : dokuwiki@rrod.net type : Action lastupdate : 2009-06-03 compatible : Rincewind, Angua, Adora Belle, Weatherwax depends : conflicts : similar : tags : acl, users, annotations ---- ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. * http://gallery.rrod.net/dokuwiki/classificationbanner.tar.gz FIXME download link is broken * http://dusers.drexel.edu/~texasdex/dokuwiki_files/classificationbanner.tar.gz Alternate download location FIXME download link is broken ===== 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