@@ -109,25 +109,25 @@ private function isCesnetEligible() {
109
109
}
110
110
} elseif ($ this ->entityCategory === self ::AVCR ) {
111
111
foreach ($ this ->eduPersonScopedAffiliation as $ affiliation ) {
112
- if (preg_match ("/^member@.+\.cz$/ " , $ affiliation , $ matches )) {
112
+ if (preg_match ("/( ^member@.+\.cz$)|(^staff@.+\.cz$) / " , $ affiliation , $ matches )) {
113
113
return true ;
114
114
}
115
115
}
116
116
} elseif ($ this ->entityCategory === self ::LIBRARY ) {
117
117
foreach ($ this ->eduPersonScopedAffiliation as $ affiliation ) {
118
- if (preg_match ("/^employee@.+\.cz$/ " , $ affiliation , $ matches )) {
118
+ if (preg_match ("/( ^employee@.+\.cz$)|(^staff@.+\.cz$) / " , $ affiliation , $ matches )) {
119
119
return true ;
120
120
}
121
121
}
122
122
} elseif ($ this ->entityCategory === self ::HOSPITAL ) {
123
123
foreach ($ this ->eduPersonScopedAffiliation as $ affiliation ) {
124
- if (preg_match ("/^employee@.+\.cz$/ " , $ affiliation , $ matches )) {
124
+ if (preg_match ("/( ^employee@.+\.cz$/)|(^staff@.+\.cz$) " , $ affiliation , $ matches )) {
125
125
return true ;
126
126
}
127
127
}
128
128
} elseif ($ this ->entityCategory === self ::OTHER ) {
129
129
foreach ($ this ->eduPersonScopedAffiliation as $ affiliation ) {
130
- if (preg_match ("/(^employee@.+\.cz$)|(^member@.+\.cz$)/ " , $ affiliation , $ matches )) {
130
+ if (preg_match ("/(^employee@.+\.cz$)|(^member@.+\.cz$)|(^employee@bbmri-eric\.eu$)|(^member@bbmri-eric\.eu$) / " , $ affiliation , $ matches )) {
131
131
return true ;
132
132
}
133
133
}
0 commit comments