diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
commit | d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36 (patch) | |
tree | e1a2ad265f9dc7fd9cd77beac672d70767917b8b /lib/plugins/auth.php | |
parent | 95905cbe48caa3de7d6d809a8f0d0cffc9df4720 (diff) | |
parent | f73480e9843c2c7609d25f9bb340210e01ea5344 (diff) | |
download | rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.gz rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.bz2 |
Merge branch 'master' into extension_manager
* master: (33 commits)
translation update
translation update
translation update
translation update
translation update
changed style of `<file>` slightly to help tell it apart from `<code>`
translation update
translation update
translation update
translation update
translation update
translation update
translation update
removed now unused interwiki icons
removed old, possibly never used interwiki definitions
FS#2806 - fix auth capability listing in html_debug()
translation update
change 'debug' setting to 'security' (rather than 'danger')
convert from iso-8859-1 if not utf8
add 'danger' alert to authpgsql config settings
...
Diffstat (limited to 'lib/plugins/auth.php')
-rw-r--r-- | lib/plugins/auth.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php index ec8ed7e58..dc66d6380 100644 --- a/lib/plugins/auth.php +++ b/lib/plugins/auth.php @@ -55,6 +55,18 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { } /** + * Available Capabilities. [ DO NOT OVERRIDE ] + * + * For introspection/debugging + * + * @author Christopher Smith <chris@jalakai.co.uk> + * @return array + */ + public function getCapabilities(){ + return array_keys($this->cando); + } + + /** * Capability check. [ DO NOT OVERRIDE ] * * Checks the capabilities set in the $this->cando array and |