Changes the permissions for the GoogleApps handler to 'mail', since it
authorVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 3 Jan 2011 14:48:59 +0000 (15:48 +0100)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Mon, 3 Jan 2011 14:48:59 +0000 (15:48 +0100)
doesn't work yet for masters/PhDs.

Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
core
modules/googleapps.php

diff --git a/core b/core
index 80c3b57..a59a444 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 80c3b5792bea15876ef8f79b8a64421733c1c001
+Subproject commit a59a4446b3f96e25620e98d4aab14860dd2ee951
index 263a24d..cbbbb11 100644 (file)
@@ -29,7 +29,7 @@ class GoogleAppsModule extends PLModule
         }
 
         return array(
-            'googleapps'            => $this->make_hook('index',      AUTH_MDP),
+            'googleapps'            => $this->make_hook('index',      AUTH_MDP, 'mail'),
             'admin/googleapps'      => $this->make_hook('admin',      AUTH_MDP, 'admin'),
             'admin/googleapps/job'  => $this->make_hook('admin_job',  AUTH_MDP, 'admin'),
             'admin/googleapps/user' => $this->make_hook('admin_user', AUTH_MDP, 'admin'),