From d4ef0dd2390dfc60787271ce0f4344b7e287efb3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 5 Dec 2023 20:02:40 +0100 Subject: [PATCH] emeritus are allowed to see listeRouge and 100 users --- lib/supannPerson.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/supannPerson.inc.php b/lib/supannPerson.inc.php index b2f97c5..319f492 100644 --- a/lib/supannPerson.inc.php +++ b/lib/supannPerson.inc.php @@ -332,7 +332,7 @@ function allowListeRouge($allowExtendedInfo) { return true; } else { $uid = GET_uid(); - return $uid && isPersonMatchingFilter($uid, "(|(eduPersonAffiliation=staff)(eduPersonAffiliation=faculty)(eduPersonAffiliation=teacher))"); + return $uid && isPersonMatchingFilter($uid, "(|(eduPersonAffiliation=staff)(eduPersonAffiliation=faculty)(eduPersonAffiliation=teacher)(eduPersonAffiliation=emeritus))"); } }