diff options
Diffstat (limited to 'lib/plugins')
-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 |