DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:classificationbanner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:classificationbanner [2010-10-10 15:00] – downloadurl lupo49plugin:classificationbanner [2013-06-01 13:12] – if you know a working download link, please change it directly in the plugin data block ach
Line 7: Line 7:
 type       : Action type       : Action
 lastupdate : 2009-06-03 lastupdate : 2009-06-03
-compatible : 2009-02-14+compatible : 2009-02-14, rincewind, angua, weatherwax
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : acl, users, annotations tags       : acl, users, annotations
  
-downloadurl: http://gallery.rrod.net/dokuwiki/classificationbanner.tar.gz+downloadurl: http://dusers.drexel.edu/~texasdex/dokuwiki_files/classificationbanner.tar.gz
 ---- ----
  
Line 20: Line 20:
 Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually. Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * http://gallery.rrod.net/dokuwiki/classificationbanner.tar.gz+  * 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
  
 ===== Details ===== ===== Details =====
  
-Uses the ACL to display a banner describing the security classification if the current page.+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". 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".
Line 31: Line 32:
  
 I use this with LDAP-based authentication, but there is no reason for it to not work with any of the other authentication systems. 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:<code>        // if($ACT == 'edit') { return true; }  // disabled: bad alignment of edit box when enabled</code>
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