From 2f46ade0bbc43b599bedf620e2514171cce072df Mon Sep 17 00:00:00 2001 From: Christopher Smith Date: Sun, 4 Aug 2013 10:58:52 +0200 Subject: FS#2806 - fix auth capability listing in html_debug() --- lib/plugins/auth.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/plugins/auth.php') 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 @@ -54,6 +54,18 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { // constructors do the real work } + /** + * Available Capabilities. [ DO NOT OVERRIDE ] + * + * For introspection/debugging + * + * @author Christopher Smith + * @return array + */ + public function getCapabilities(){ + return array_keys($this->cando); + } + /** * Capability check. [ DO NOT OVERRIDE ] * -- cgit v1.2.3