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
Both sides next revision
plugin:classificationbanner [2010-10-10 15:00]
lupo49 downloadurl
plugin:classificationbanner [2018-05-30 21:14] (current)
Klap-in [Download and Installation]
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 
 ---- ----
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+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+  * 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 31:
  
 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: 2018-05-30 21:14 by Klap-in