Skip to content
Snippets Groups Projects
librarywalkin1.tt2 1.69 KiB
Newer Older
Guillaume ROUSSE's avatar
Guillaume ROUSSE committed
[% account_sp_entityid = account.sp_entityid() %]
[% account_id = account.id() %]
renater.salaun's avatar
renater.salaun committed

[% SET account_profile = {
renater.salaun's avatar
renater.salaun committed
	'type' => 'Library walk-in',
	'comment' => '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://middleware.internet2.edu/urn-mace/urn-mace-dir-entitlement.html</a>.',
renater.salaun's avatar
renater.salaun committed
	'eduPersonAffiliation' => ['library-walk-in'],
	'eduPersonScopedAffiliation' => ["library-walk-in@${conf.idp_scope}"],
        'displayName' => 'Ramón Núñez - eduGAIN Access Check account',
        'cn' => 'Ramón Núñez - eduGAIN Access Check account',
        'mail' => "ramon.nunez@${conf.idp_scope}",
renater.salaun's avatar
renater.salaun committed
        'eduPersonPrincipalName' =>"${account_id}@${conf.idp_scope}",
        'schacHomeOrganization' => "${conf.idp_scope}",
        'schacHomeOrganizationType' => 'urn:schac:homeOrganizationType:int:other',
renater.salaun's avatar
renater.salaun committed
	'eduPersonEntitlement' => 'urn:mace:dir:entitlement:common-lib-terms',
} %]