Top Banner
How to add additional privileges to user_function.lng (originally SI 8192-36474) Presenter: Yoel Kortick
32

How to add additional privileges to user_ (originally SI 8192-36474) Presenter: Yoel Kortick.

Jan 20, 2018

Download

Documents

Brooke Henry

additional privileges to user_function.lng 3 Introduction When 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.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

How to add additional privileges to user_function.lng

(originally SI 8192-36474)

Presenter: Yoel Kortick

Page 2: How to add additional privileges to user_  (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).

Page 3: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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.

Page 4: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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)

Page 5: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 6: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng6

Discovering that the privilege does not exist 2. GILLIGAN clicks

“Access Rights”

1. GILLIGAN selects user MARYANNE

Page 7: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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)”

Page 8: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 9: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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)”

Page 10: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 11: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 12: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 13: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng13

Adding new privilegesWithin the ALEPHADM module we will choose “Tables Navigator”

Page 14: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng14

Adding new privileges

Under “ALEPH > tab” we choose the file “user_function.eng”

Page 15: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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.

Page 16: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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.

Page 17: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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.

Page 18: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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.

Page 19: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 20: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng20

Adding new privileges

When done editing the file we check it in (to the server)

Page 21: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng21

Restart PC ServerAfter changing file “user_function.eng” we will restart the PC Server

Page 22: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng22

Restart PC Server

Page 23: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng23

Restart PC Server

PC Server was restarted

Page 24: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 25: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng25

Denying the privilege

And now it is denied

Page 26: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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

Page 27: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng27

Denying the privilege

And now it is denied

Page 28: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng28

Testing the new DenialMARYANNE logs into GUI

Page 29: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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)

Page 30: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng30

Testing the new DenialAnd she receives this message:

Page 31: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

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)

Page 32: How to add additional privileges to user_  (originally SI 8192-36474) Presenter: Yoel Kortick.

additional privileges to user_function.lng32

Testing the new DenialAnd she receives this message: