How to add additional privileges to user_ (originally SI 8192-36474) Presenter: Yoel Kortick.
Post on 20-Jan-2018
232 Views
Preview:
DESCRIPTION
Transcript
How to add additional privileges to user_function.lng
(originally SI 8192-36474)
Presenter: Yoel Kortick
additional privileges to user_function.lng2
IntroductionIt may occur that staff user A edits the privileges of staff user B via the “staff privileges” and does not see a particular service listed as an option to “permit” or “deny”.
As a result, staff user B may be allowed to run a service and there is no way for staff user A to deny the privilege (except by denying all sub functions of the library, which is not usually desired).
additional privileges to user_function.lng3
IntroductionWhen a specific privilege is missing it is possible to add the privilege to the file $alephe_tab/user_function.lng.
After adding the privilege to the file $alephe_tab/user_function.lng it will be listed as an option in the staff privileges, and staff user A will be able to deny (or permit) staff user B to run the service.
additional privileges to user_function.lng4
IntroductionIn our example here staff user GILLIGAN will try to prevent staff user MARYANNE from being able to run the following two services. GILLIGAN will not be able to find them in the list of privileges:
1. Circulation Module > Services > Requests > Campus Hold Requests Router - Cleanup (cir-240)
2. Cataloging Module > Services > Build Indexes to the Catalog > Trigger Z07 Records (manage-103)
additional privileges to user_function.lng5
Discovering that the privilege does not existCurrently MARYANNE has “all functions > all sub functions” privileges for all libraries. GILLIGAN will now try to deny her cir-240 in USM50 and manage-103 in USM01.
1. GILLIGAN is logged in
2. GILLIGAN chooses Staff Privileges
additional privileges to user_function.lng6
Discovering that the privilege does not exist 2. GILLIGAN clicks
“Access Rights”
1. GILLIGAN selects user MARYANNE
additional privileges to user_function.lng7
Discovering that the privilege does not exist
GILLIGAN selects Ex Libris Demo Libraries (USM50) in order to deny the service “Campus Hold Requests Router - Cleanup (cir-240)”
additional privileges to user_function.lng8
Discovering that the privilege does not exist
GILLIGAN chooses the services-circulation sub menu and can not find cir-240.
GILLIGAN also can not find cir-240 from the find button
additional privileges to user_function.lng9
Discovering that the privilege does not exist
GILLIGAN selects USM01 in order to deny the service “Trigger Z07 Records (manage-103)”
additional privileges to user_function.lng10
Discovering that the privilege does not exist
GILLIGAN chooses the services - manage sub menu and can not find manage-103.
GILLIGAN also can not find manage-103 from the find button
additional privileges to user_function.lng11
Adding new privilegesWe will now add these two lacking services:
1. Circulation Module > Services > Requests > Campus Hold Requests Router - Cleanup (cir-240)
2. Cataloging Module > Services > Build Indexes to the Catalog > Trigger Z07 Records (manage-103)
To the file $alephe_tab/user_function.eng so that they will appear in the list of privileges and GILLIGAN can then deny them from MARYANNE
additional privileges to user_function.lng12
Adding new privilegesHere is the file on the server:
We will edit the file via the Tables Navigator of the ALEPHADM module of the GUI
il-aleph02-a18(1) >>cd $alephe_tabil-aleph02-a18(1) >>ls -lrt user_function.eng -rw-rw-r-- 1 aleph exlibris 70398 Dec 4 10:00 user_function.eng
additional privileges to user_function.lng13
Adding new privilegesWithin the ALEPHADM module we will choose “Tables Navigator”
additional privileges to user_function.lng14
Adding new privileges
Under “ALEPH > tab” we choose the file “user_function.eng”
additional privileges to user_function.lng15
Adding new privilegesWe will now add the service “Circulation Module > Services > Requests > Campus Hold Requests Router - Cleanup (cir-240)”. It is easiest to take an existing service from the file and add a new line above or underneath the existing line. In the new line we will add the new service.
additional privileges to user_function.lng16
Adding new privileges
We clicked here to add a new line
Here is the new line where we will add the new service. It will be the same as the existing line except for the number of the service and description of it.
additional privileges to user_function.lng17
Adding new privileges
Here is the new line
The only difference between the new line and the line under it and over it is the description and number of the service.
additional privileges to user_function.lng18
Adding new privileges
Now we will add the service “Cataloging Module > Services > Build Indexes to the Catalog > Trigger Z07 Records (manage-103)”
We make a blank line next to an existing cataloging module service.
additional privileges to user_function.lng19
Adding new privileges
The only difference between the new line and the line under it and over it is the description and number of the service.
Here is the new line
additional privileges to user_function.lng20
Adding new privileges
When done editing the file we check it in (to the server)
additional privileges to user_function.lng21
Restart PC ServerAfter changing file “user_function.eng” we will restart the PC Server
additional privileges to user_function.lng24
Denying the privilege
1. Now when GILLIGAN chooses the services-circulation sub menu for USM50 in the staff privileges he does find cir-240.
2. GILLIGAN will now deny this privilege for MARYANNE
additional privileges to user_function.lng26
Denying the privilege1. Now when GILLIGAN chooses the “services – manage” sub menu of USM01 he does find manage-103.
2. GILLIGAN will now deny this privilege for MARYANNE
additional privileges to user_function.lng29
Testing the new DenialMARYANNE tries to run the service: Circulation Module > Services > Requests > Campus Hold Requests Router - Cleanup (cir-240)
additional privileges to user_function.lng31
Testing the new DenialMARYANNE tries to run the service: Cataloging Module > Services > Build Indexes to the Catalog > Trigger Z07 Records (manage-103)
top related