diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-04 10:58:52 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-04 10:58:52 +0200 |
commit | 2f46ade0bbc43b599bedf620e2514171cce072df (patch) | |
tree | 5ca32c7e4b68d9d7b37b2bb7d56aeff5cbe7776d /lib | |
parent | 99dca51357b98d8450d43d66b5596504722809c0 (diff) | |
download | rpg-2f46ade0bbc43b599bedf620e2514171cce072df.tar.gz rpg-2f46ade0bbc43b599bedf620e2514171cce072df.tar.bz2 |
FS#2806 - fix auth capability listing in html_debug()
Diffstat (limited to 'lib')
-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 |