From: Raphaël Barrois Date: Tue, 23 Aug 2011 22:55:48 +0000 (+0200) Subject: Add the 'user' perm to X.net for users with the 'group' permission. X-Git-Tag: xorg/1.1.3~15 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8333d1f473e2d5d794208746290989c121f9f386;p=platal.git Add the 'user' perm to X.net for users with the 'group' permission. Signed-off-by: Raphaël Barrois --- diff --git a/classes/xnetsession.php b/classes/xnetsession.php index 27ed4d8..0612032 100644 --- a/classes/xnetsession.php +++ b/classes/xnetsession.php @@ -118,6 +118,7 @@ class XnetSession extends XorgSession if (!$user->checkPerms('groups')) { return false; } + S::v('perms')->addFlag(PERMS_USER); if ($level == AUTH_SUID) { S::set('auth', AUTH_MDP); }