Skip to content
Snippets Groups Projects
Commit bd6b1c12 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix multiples profile issues

- sn was missing in fullset1
- displayName was missing in generic1
- researcher1 description was inaccurate
- limitedset1 had no description
parent c72f46b3
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,18 @@ my %sn = (
fullset1 => 'Lightfoot - eduGAIN Access Check account',
);
my %displayName = (
alumni1 => 'Åsold Wahlstrøm - eduGAIN Access Check account',
employee1 => 'Linnéa Hsu - eduGAIN Access Check account',
fullset1 => 'Gundabald Lightfoot - eduGAIN Access Check account',
librarywalkin1 => 'Ramón Núñez - eduGAIN Access Check account',
researcher1 => 'Stéphane Larivière - eduGAIN Access Check account',
student1 => 'Ciarán MacCárthaigh - eduGAIN Access Check account',
student2 => 'Damiën Kuijper - eduGAIN Access Check account',
teacher1 => 'Peter Müller - eduGAIN Access Check account',
generic1 => '山崎 弘子樫野 陽子 - eduGAIN Access Check account',
);
my %mail = (
alumni1 => 'asold.wahlstrom',
employee1 => 'linnea.hsu',
......@@ -87,13 +99,14 @@ my %comment = (
alumni1 => 'An ex-student with "alum" value for eduPersonAffiliation.',
employee1 => 'A person with "member", "staff" and "employee" values for eduPersonAffiliation.',
fullset1 => 'A person with all eduGAIN user attributes plus givenName and surname.',
limitedset1 => 'A person with only an eduPersonTargetedID attribute.',
generic1 => 'A person with a limited set of attributes (eduPersonPrincipalName, mail and displayName).',
librarywalkin1 => 'A library user on the campus network.',
researcher1 => 'A researcher with only an eduPersonTargetedID attribute.',
student1 => 'A student with "member" and "student" values for eduPersonAffiliation.',
student2 => 'A PhD student with "member", "student" and "faculty" values for eduPersonAffiliation.',
teacher1 => 'A teacher with a limited set of attributes (eduPersonScopedAffiliation and eduPersonTargetedID).',
teacher2 => 'A teacher with "member" and "faculty" values for eduPersonAffiliation.',
researcher1 => 'A researcher, undifferenciable from a teacher as there is no standard value for eduPersonAffiliation.',
);
sub print {
......@@ -121,9 +134,14 @@ sub cn {
return $cn{$self->profile()};
}
sub sn {
my ($self) = @_;
return $sn{$self->profile()};
}
sub displayName {
my ($self) = @_;
return $cn{$self->profile()};
return $displayName{$self->profile()};
}
sub givenName {
......
......@@ -705,6 +705,7 @@ sub req_download_accounts {
password
profile
cn
sn
displayName
givenName
mail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment