From: Stéphane Jacob Date: Thu, 27 Jan 2011 11:31:56 +0000 (+0100) Subject: Allows AX secretaries to see profiles on AX website. X-Git-Tag: xorg/1.0.2~26 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e27ad09d8f62672a7fcad19e7f142d8868a73381;p=platal.git Allows AX secretaries to see profiles on AX website. Signed-off-by: Stéphane Jacob --- 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),