Remove hack on auth-groupex to force X.org admins to be group admins.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 1 Jun 2008 10:26:33 +0000 (12:26 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 1 Jun 2008 10:26:33 +0000 (12:26 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/auth/auth.inc.php

index 5e9746a..1b01a77 100644 (file)
@@ -62,9 +62,6 @@ function gpex_make($chlg, $privkey, $datafields, $charset)
                                     WHERE  uid = {?} AND diminutif = {?}",
                                   S::v('uid'), $_GET['group']);
                 $perms = $res->fetchOneCell();
-                if (Session::has_perms()) {
-                    $perms = 'admin';
-                }
             } else {
                 // if no group asked, return main rights
                 $perms = Session::has_perms()?'admin':'membre';