From e27ad09d8f62672a7fcad19e7f142d8868a73381 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 27 Jan 2011 12:31:56 +0100 Subject: [PATCH] Allows AX secretaries to see profiles on AX website. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/profile.php b/modules/profile.php index a6fc07f..e94a38d 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -30,7 +30,7 @@ class ProfileModule extends PLModule 'fiche.php' => $this->make_hook('fiche', AUTH_PUBLIC), 'profile' => $this->make_hook('profile', AUTH_PUBLIC), 'profile/private' => $this->make_hook('profile', AUTH_COOKIE), - 'profile/ax' => $this->make_hook('ax', AUTH_COOKIE, 'admin'), + 'profile/ax' => $this->make_hook('ax', AUTH_COOKIE, 'admin,edit_directory'), 'profile/edit' => $this->make_hook('p_edit', AUTH_MDP), 'profile/ajax/address' => $this->make_hook('ajax_address', AUTH_COOKIE, 'user', NO_AUTH), 'profile/ajax/tel' => $this->make_hook('ajax_tel', AUTH_COOKIE, 'user', NO_AUTH), -- 2.1.4