From 8333d1f473e2d5d794208746290989c121f9f386 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Wed, 24 Aug 2011 00:55:48 +0200 Subject: [PATCH] Add the 'user' perm to X.net for users with the 'group' permission. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- classes/xnetsession.php | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.1.4