Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Access Check - Account manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Access Check - Account manager
Commits
b9a67ff9
Commit
b9a67ff9
authored
7 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
more consistency for comments
parent
551a83a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/AccountManager/Account.pm
+10
-30
10 additions, 30 deletions
lib/AccountManager/Account.pm
with
10 additions
and
30 deletions
lib/AccountManager/Account.pm
+
10
−
30
View file @
b9a67ff9
...
...
@@ -78,36 +78,16 @@ my %scopedAffiliation = (
);
my
%comment
=
(
alumni1
=>
<<
EOF
,
Value
"
member
"
is
not
set
for
eduPersonAffiliation
,
contrary
to
current
students
.
EOF
employee1
=>
<<
EOF
,
There
are
conflicting
definitions
of
"
staff
"
and
"
employee
"
from
country
to
country
that
make
those
values
particularly
unreliable
in
any
international
context
.
However
in
this
example
we
set
both
values
.
EOF
fullset1
=>
<<
EOF
,
This
user
profile
respresents
a
researcher
with
all
eduGAIN
user
attributes
plus
givenName
and
surname
.
EOF
generic1
=>
<<
EOF
,
This
account
provides
a
limited
set
of
user
attributes
(
eduPersonPrincipalName
,
mail
and
displayName
)
.
EOF
librarywalkin1
=>
<<
EOF
,
This
term
was
created
to
cover
the
case
where
physical
presence
in
a
library
facility
grants
someone
access
to
electronic
resources
typically
licensed
for
faculty
,
staff
and
students
.
In
recent
years
the
library
walk
-
in
provision
has
been
extended
to
cover
other
cases
such
as
library
users
on
the
campus
network
,
or
those
using
on
-
campus
workstations
.
Licensed
resource
providers
have
often
been
willing
to
interpret
their
contracts
with
licensees
to
accept
this
broader
definition
of
"
library-walk-in,
"
though
specific
terms
may
vary
.
For
a
more
direct
way
of
using
eduPerson
attributes
to
express
library
privilege
information
,
see
the
eduPersonEntitlement
value
"
urn:mace:dir:entitlement:common-lib-terms
"
as
defined
in
the
MACE
-
Dir
Registry
of
eduPersonEntitlement
values
<
a
href
=
"
http://middleware.internet2.edu/urn-mace/urn-mace-dir-entitlement.html
"
>
http:
//middl
eware
.
internet2
.
edu
/urn-mace/u
rn
-
mace
-
dir
-
entitlement
.
html
</
a
>.
EOF
researcher1
=>
<<
EOF
,
This
account
provides
only
an
eduPersonTargetedID
attribute
.
EOF
student1
=>
<<
EOF
,
An
active
student
has
both
"
member
"
and
"
student
"
values
set
for
eduPersonAffiliation
.
EOF
student2
=>
<<
EOF
,
A
PhD
student
,
having
three
values
set
for
eduPersonAffiliation:
"
member
"
and
"
student
"
and
"
faculty
"
.
EOF
teacher1
=>
<<
EOF
,
This
account
provides
a
limited
set
of
user
attributes
(
eduPersonScopedAffiliation
and
eduPersonTargetedID
)
.
EOF
teacher2
=>
<<
EOF
,
An
active
teacher
has
both
"
member
"
and
"
faculty
"
values
set
for
eduPersonAffiliation
.
EOF
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.
',
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.
',
);
sub
print
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment