From: Florent Bruneau Date: Wed, 6 Oct 2010 12:29:12 +0000 (+0200) Subject: Don't require AUTH_MDP to lower permissions of the user. X-Git-Tag: xorg/1.0.1~93 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=93e38398135982277064700519f0dd284df1eb0d;p=platal.git Don't require AUTH_MDP to lower permissions of the user. Signed-off-by: Florent Bruneau --- diff --git a/modules/admin.php b/modules/admin.php index 6d6660b..c2a5901 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -25,7 +25,7 @@ class AdminModule extends PLModule { return array( 'phpinfo' => $this->make_hook('phpinfo', AUTH_MDP, 'admin'), - 'get_rights' => $this->make_hook('get_rights', AUTH_MDP, 'admin'), + 'get_rights' => $this->make_hook('get_rights', AUTH_COOKIE, 'admin'), 'admin' => $this->make_hook('default', AUTH_MDP, 'admin'), 'admin/dead-but-active' => $this->make_hook('dead_but_active', AUTH_MDP, 'admin'), 'admin/deaths' => $this->make_hook('deaths', AUTH_MDP, 'admin'),