integration national licences jusbib
The goal is to have a selection of journals from national licences in jusbib and that the users can access them using the national licences mechanisms.
There are 2 options
Option A : Merge user databases from jusbib and swissbib green
Advantages :
- The full registration process would happen in jusbib as in swissbib green
- No need to adapt view helpers or code
- Less user databases
Disadvantages :
- need to merge the databases
- more difficult to implement jusbib specific features in the future
What needs to be done :
-
import the users from jusbib in the green user databases. Merge the users if needed. Adapt the user lists and favorites -
move the nl-templates from sbvfrdsingle to sbvfrd (or copy to sbvfrdjus) -
ensure all username and passwords are also available -
adapt shibboleth attribute map and switch resource registry to request the same attributes from jusbib as from swissbib green
Estimation work :
- 5 days
Option B : Registration always happens in swissbib green
When the user has not registered for NL, he is sent to green for the registration. Otherwise he is sent to the publishers pages. The test is based on the eduPersonEntitlement SAML attribute (not on the database content as it is done now in green)
Advantages :
- user databases are kept separate
- nothing really related to NL registration is implemented in jusbib, only access
Disadvantages :
- might be confusing for the user as he needs to go to green for the registration
- after registration the user must close his session to get the new values of the attributes
What needs to be done :
-
adapt the NationalLicences View Helper to check the eduPersonEntitlement (via $_SERVER["entitlement"]) instead of hasAccessToNationalLicencesContent here -
adapt the MyResearchNationalLicensesController.php to check the eduPersonEntitlement (via $_SERVER["entitlement"]) instead of hasAccessToNationalLicencesContent here -
adapt the MyResearchNationalLicensesController.php to send the user to green for registration if he hasn't registered -
adapt shibboleth attribute map and switch resource registry to request eduPersonEntitlement from jusbib as well
Estimation work :
- 3 days