<indexterm><primary>sql</primary></indexterm> \r
<programlisting language="sql">\r
CREATE TABLE students (\r
- student_id int, barcode text, last_name text, first_name text, program_number text, program_name text, email text, address_type text, street1 text, street2 text, city text, province text, \r
- country text, postal_code text, phone text, profile int, ident_type int, home_ou int, claims_returned_count int DEFAULT 0, usrname text, net_access_level int DEFAULT 2, password text\r
+ student_id int, barcode text, last_name text, first_name text, program_number text, program_name text, email text, address_type text, street1 text, \r
+ street2 text, city text, province text, country text, postal_code text, phone text, profile int, ident_type int, home_ou int, \r
+ claims_returned_count int DEFAULT 0, usrname text, net_access_level int DEFAULT 2, password text\r
); \r
</programlisting>\r
<para>Note the <varname>DEFAULT</varname> variables. These allow you to set default for your library or to populate required fields if you data allows \r
<para>Insert records from the staging table into the <link linkend="actor.table.usr">actor.usr</link> Evergreen table:</para>\r
<programlisting language="sql">\r
INSERT INTO actor.usr (\r
- profile, usrname, email, passwd, ident_type, ident_value, first_given_name, family_name, day_phone, home_ou, claims_returned_count, net_access_level) SELECT profile, students.usrname, \r
- email, student_id, ident_type, student_id, first_name, last_name, phone, home_ou, claims_returned_count, net_access_level FROM students;\r
+ profile, usrname, email, passwd, ident_type, ident_value, first_given_name, family_name, day_phone, home_ou, claims_returned_count, \r
+ net_access_level) \r
+ SELECT profile, students.usrname, email, student_id, ident_type, student_id, first_name, last_name, phone, home_ou, claims_returned_count, \r
+ net_access_level \r
+ FROM students;\r
</programlisting> \r
</step>\r
<step>\r
\r
-- Create staging table.\r
CREATE TABLE students (\r
- student_id int, barcode text, last_name text, first_name text, program_number text, program_name text, email text, address_type text, street1 text, street2 text, city text, province text, \r
- country text, postal_code text, phone text, profile int, ident_type int, home_ou int, claims_returned_count int DEFAULT 0, usrname text, net_access_level int DEFAULT 2, password text\r
+ student_id int, barcode text, last_name text, first_name text, program_number text, program_name text, email text, address_type text, \r
+ street1 text, street2 text, city text, province text, country text, postal_code text, phone text, profile int, ident_type int, home_ou int, \r
+ claims_returned_count int DEFAULT 0, usrname text, net_access_level int DEFAULT 2, password text\r
); \r
\r
\r
--Insert records from the staging table into the actor.usr table.\r
INSERT INTO actor.usr (\r
- profile, usrname, email, passwd, ident_type, ident_value, first_given_name, family_name, day_phone, home_ou, claims_returned_count, net_access_level) SELECT profile, students.usrname, \r
- email, student_id, ident_type, student_id, first_name, last_name, phone, home_ou, claims_returned_count, net_access_level FROM students;\r
+ profile, usrname, email, passwd, ident_type, ident_value, first_given_name, family_name, day_phone, home_ou, claims_returned_count, \r
+ net_access_level) \r
+ SELECT profile, students.usrname, email, student_id, ident_type, student_id, first_name, last_name, phone, home_ou, claims_returned_count, \r
+ net_access_level FROM students;\r
\r
--Insert records from the staging table into the actor.usr table.\r
INSERT INTO actor.card (usr, barcode) \r
<title>Permissions Table</title>\r
<tgroup cols="2">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="2.5*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
<thead>\r
<row>\r
<entry>Permission Name</entry>\r
transit destination or source</entry>\r
</row>\r
<row>\r
- <entry>ASSIGN_WORK_ORG_UNIT </entry>\r
+ <entry>ASSIGN_WORK_ORG_UNIT</entry>\r
<entry>Allows user to define where another staff member's \r
permissions apply via the Permissions Editor interface.</entry>\r
</row>\r
<entry>Allows user to cancel holds</entry>\r
</row>\r
<row>\r
- <entry>CIRC_CLAIMS_RETURNED.override</entry>\r
+ <entry>CIRC_CLAIMS_RETURNED override</entry>\r
<entry>Allows user to check in/out an item that is claims \r
returned</entry>\r
</row>\r
<row>\r
- <entry>CIRC_EXCEEDS_COPY_RANGE.override</entry>\r
+ <entry>CIRC_EXCEEDS_COPY_RANGE override</entry>\r
<entry>Allows user to override the copy exceeds range event</entry>\r
</row>\r
<row>\r
checkout</entry>\r
</row>\r
<row>\r
- <entry>COPY_ALERT_MESSAGE.override</entry>\r
+ <entry>COPY_ALERT_MESSAGE override</entry>\r
<entry>Allows user to check in/out an item that has an alert \r
message</entry>\r
</row>\r
<row>\r
- <entry>COPY_BAD_STATUS.override</entry>\r
+ <entry>COPY_BAD_STATUS override</entry>\r
<entry>Allows user to check out an item in a non-circulating\r
status</entry>\r
</row>\r
<entry>Allows user to check out a copy</entry>\r
</row>\r
<row>\r
- <entry>COPY_CIRC_NOT_ALLOWED.override</entry>\r
+ <entry>COPY_CIRC_NOT_ALLOWED override</entry>\r
<entry>Allows user to checkout an item that is marked as \r
non-circ</entry>\r
</row>\r
<entry>Allows user to place a hold on a specific copy</entry>\r
</row>\r
<row>\r
- <entry>COPY_IS_REFERENCE.override</entry>\r
+ <entry>COPY_IS_REFERENCE override</entry>\r
<entry>Allows user to override the copy_is_reference event</entry>\r
</row>\r
\r
<row>\r
- <entry>COPY_NOT_AVAILABLE.override</entry>\r
+ <entry>COPY_NOT_AVAILABLE override</entry>\r
<entry>Allows user to force checkout of Missing/Lost type \r
items</entry>\r
</row>\r
<row>\r
- <entry>COPY_STATUS_LOST.override</entry>\r
+ <entry>COPY_STATUS_LOST override</entry>\r
<entry>Allows user to remove the lost status from a copy</entry>\r
</row>\r
<row>\r
- <entry>COPY_STATUS_MISSING.override</entry>\r
+ <entry>COPY_STATUS_MISSING override</entry>\r
<entry>Allows user to change the missing status on a copy</entry>\r
</row>\r
<row>\r
copies</entry>\r
</row>\r
<row>\r
- <entry>CREATE_COPY_STAT_CAT_ENTRY</entry>\r
+ <entry>CREATE_COPY_STAT_CAT _ENTRY</entry>\r
<entry>Allows user to create a new entry for a copy statistical \r
category</entry>\r
</row>\r
<row>\r
- <entry>CREATE_COPY_STAT_CAT_ENTRY_MAP</entry>\r
+ <entry>CREATE_COPY_STAT_CAT _ENTRY_MAP</entry>\r
<entry>Allows user to link a copy to a statistical category \r
(i.e., allows user to specify the appropriate entry for a copy and \r
given statistical category)</entry>\r
<entry>Allows user to create a new non-cataloged item type</entry>\r
</row>\r
<row>\r
- <entry>CREATE_PATRON_STAT_CAT</entry>\r
+ <entry>CREATE_PATRON_STAT _CAT</entry>\r
<entry>Allows user to create a new patron statistical \r
category</entry>\r
</row>\r
<row>\r
- <entry>CREATE_PATRON_STAT_CAT_ENTRY</entry>\r
+ <entry>CREATE_PATRON_STAT _CAT_ENTRY</entry>\r
<entry>Allows user to create a new possible entry for patron \r
statistical categories</entry>\r
</row>\r
<row>\r
- <entry>CREATE_PATRON_STAT_CAT_ENTRY_MAP</entry>\r
+ <entry>CREATE_PATRON_STAT _CAT_ENTRY_MAP</entry>\r
<entry>Allows user to link another user to a stat cat entry (i.e., \r
specify the patron's entry for a given statistical category)</entry>\r
</row>\r
<entry>Allows user to create another user</entry>\r
</row>\r
<row>\r
- <entry>CREATE_USER_GROUP_LINK</entry>\r
+ <entry>CREATE_USER_GROUP _LINK</entry>\r
<entry>Allows user to add other users to permission groups</entry>\r
</row>\r
<row>\r
Volume Buckets, and Book Bags).</entry>\r
</row>\r
<row>\r
- <entry>DELETE_CONTAINER_ITEM</entry>\r
+ <entry>DELETE_CONTAINER _ITEM</entry>\r
<entry>Allows user to remove items from buckets and bookbags</entry>\r
</row>\r
<row>\r
<entry>Allows user to delete a copy</entry>\r
</row>\r
<row>\r
- <entry>DELETE_COPY_LOCATION</entry>\r
+ <entry>DELETE_COPY _LOCATION</entry>\r
<entry>Allows user to delete a copy location</entry>\r
</row>\r
<row>\r
<entry>Allows user to delete copy notes</entry>\r
</row>\r
<row>\r
- <entry>DELETE_COPY_STAT_CAT</entry>\r
+ <entry>DELETE_COPY_STAT _CAT</entry>\r
<entry>Allows user to delete a copy statistical category</entry>\r
</row>\r
<row>\r
- <entry>DELETE_COPY_STAT_CAT_ENTRY</entry>\r
+ <entry>DELETE_COPY_STAT _CAT_ENTRY</entry>\r
<entry>Allows user to delete an entry for a copy statistical \r
category</entry>\r
</row>\r
<row>\r
- <entry>DELETE_COPY_STAT_CAT_ENTRY_MAP</entry>\r
+ <entry>DELETE_COPY_STAT _CAT_ENTRY_MAP</entry>\r
<entry>Allows user to delete a copy stat cat entry map</entry>\r
</row>\r
<row>\r
circulated).</entry>\r
</row>\r
<row>\r
- <entry>DELETE_PATRON_STAT_CAT</entry>\r
+ <entry>DELETE_PATRON_STAT _CAT</entry>\r
<entry>Allows user to delete a patron statistical category</entry>\r
</row>\r
<row>\r
- <entry>DELETE_PATRON_STAT_CAT_ENTRY</entry>\r
+ <entry>DELETE_PATRON_STAT _CAT_ENTRY</entry>\r
<entry>Allows user to delete an entry for patron statistical \r
categories</entry>\r
</row>\r
<row>\r
- <entry>DELETE_PATRON_STAT_CAT_ENTRY_MAP</entry>\r
+ <entry>DELETE_PATRON_STAT _CAT_ENTRY_MAP</entry>\r
<entry>Allows user to remove a patron's entry for a given \r
statistical category</entry>\r
</row>\r
interface</entry>\r
</row>\r
<row>\r
- <entry>ITEM_AGE_PROTECTED.override</entry>\r
+ <entry>ITEM_AGE_PROTECTED override</entry>\r
<entry>Allows user to place a hold on an age-protected item</entry>\r
</row> <row>\r
- <entry>ITEM_ON_HOLDS_SHELF.override</entry>\r
+ <entry>ITEM_ON_HOLDS_SHELF override</entry>\r
<entry>Allows user to check out an item that is on holds shelf for a \r
different patron</entry>\r
</row>\r
<row>\r
- <entry>MAX_RENEWALS_REACHED.override</entry>\r
+ <entry>MAX_RENEWALS_REACHED override</entry>\r
<entry>Allows user to renew an item past the maximum renewal \r
count</entry>\r
</row>\r
batch</entry>\r
</row>\r
<row>\r
- <entry>OFFLINE_UPLOAD </entry>\r
+ <entry>OFFLINE_UPLOAD</entry>\r
<entry>Allows user to upload an offline/standalone script</entry>\r
</row>\r
<row>\r
<entry>Allows user to login to the OPAC</entry>\r
</row>\r
<row>\r
- <entry>patron_exceeds_checkout_count.override</entry>\r
+ <entry>patron_exceeds_checkout _count.override</entry>\r
<entry>Allow user to override checkout count failure</entry>\r
</row>\r
<row>\r
- <entry>patron_exceeds_fines .override</entry>\r
+ <entry>patron_exceeds_fines override</entry>\r
<entry>Allow user to override fine amount checkout failure</entry>\r
</row>\r
<row>\r
- <entry>patron_exceeds_overdue_count .override</entry>\r
+ <entry>patron_exceeds_overdue _count.override</entry>\r
<entry>Allow user to override overdue count failure</entry>\r
</row>\r
<row>\r
and run reports</entry>\r
</row>\r
<row>\r
- <entry>SET_CIRC_CLAIMS_RETURNED</entry>\r
+ <entry>SET_CIRC_CLAIMS _RETURNED</entry>\r
<entry>Allows user to mark an item as claimed returned</entry>\r
</row>\r
<row>\r
<entry>Allows user to change a copy statistical category</entry>\r
</row>\r
<row>\r
- <entry>UPDATE_COPY_STAT_CAT_ENTRY</entry>\r
+ <entry>UPDATE_COPY_STAT _CAT_ENTRY</entry>\r
<entry>Allows user to change a copy statistical category entry</entry>\r
</row>\r
<row>\r
<entry>Allows user to edit a marc record</entry>\r
</row>\r
<row>\r
- <entry>UPDATE_NON_CAT_TYPE</entry>\r
+ <entry>UPDATE_NON_CAT _TYPE</entry>\r
<entry>Allows user to update a non cataloged type</entry>\r
</row>\r
<row>\r
<entry>Allows user to change org unit settings</entry>\r
</row>\r
<row>\r
- <entry>UPDATE_PATRON_STAT_CAT</entry>\r
+ <entry>UPDATE_PATRON_STAT _CAT</entry>\r
<entry>Allows user to change a patron statistical category (such as \r
renaming the category)</entry>\r
</row>\r
<row>\r
- <entry>UPDATE_PATRON_STAT_CAT_ENTRY</entry>\r
+ <entry>UPDATE_PATRON_STAT _CAT_ENTRY</entry>\r
<entry>Allows user to change a patron stat cat entry(such as \r
renaming the entry)</entry>\r
</row>\r
<entry>Allows user to view buckets and bookbags</entry>\r
</row>\r
<row>\r
- <entry>VIEW_COPY_CHECKOUT_HISTORY</entry>\r
+ <entry>VIEW_COPY_CHECKOUT _HISTORY</entry>\r
<entry>Allows user to view which users have checked out a given \r
copy</entry>\r
</row>\r
<entry>Allows user to view another user's Patron Record</entry>\r
</row>\r
<row>\r
- <entry>VIEW_USER_FINES_SUMMARY</entry>\r
+ <entry>VIEW_USER_FINES _SUMMARY</entry>\r
<entry>Allows user to view bill details</entry>\r
</row>\r
<row>\r
</row>\r
\r
<row>\r
- <entry>actor.org_unit.closed_date.create</entry>\r
+ <entry>actor.org_unit.closed _date.create</entry>\r
<entry>Allows user to create a new closed date for a location</entry>\r
</row>\r
<row>\r
- <entry>actor.org_unit.closed_date.delete</entry>\r
+ <entry>actor.org_unit.closed _date.delete</entry>\r
<entry>Allows user to remove a closed date interval for a given \r
location</entry>\r
</row>\r
<row>\r
- <entry>actor.org_unit.closed_date.update</entry>\r
+ <entry>actor.org_unit.closed _date.update</entry>\r
<entry>Allows user to update a closed date interval for a given \r
location</entry>\r
</row>\r
<entry>Allows user to add/remove users to/from the User group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.patron</entry>\r
+ <entry>group_application.user .patron</entry>\r
<entry>Allows user to add/remove users to/from the Patron \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.sip_client</entry>\r
+ <entry>group_application.user. sip_client</entry>\r
<entry>Allows user to add/remove users to/from the SIP-Client \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff</entry>\r
+ <entry>group_application.user. staff</entry>\r
<entry>Allows user to add/remove users to/from the Staff \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.admin.global_admin</entry>\r
+ <entry>group_application.user.staff. admin.global_admin</entry>\r
<entry>Allows user to add/remove users to/from the GlobalAdmin \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.admin.lib_manager</entry>\r
+ <entry>group_application.user.staff. admin.lib_manager</entry>\r
<entry>Allows user to add/remove users to/from the LibraryManager \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.admin.local_admin</entry>\r
+ <entry>group_application.user.staff. admin.local_admin</entry>\r
<entry>Allows user to add/remove users to/from the LocalAdmin \r
group</entry>\r
</row>\r
<entry>Allows user to add/remove users to/from the Cataloger group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.cat.cat1</entry>\r
+ <entry>group_application.user. staff.cat.cat1</entry>\r
<entry>Allows user to add/remove users to/from the Cat1 group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.circ</entry>\r
+ <entry>group_application.user. staff.circ</entry>\r
<entry>Allows user to add/remove users to/from the Circulator \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.staff.supercat</entry>\r
+ <entry>group_application.user. staff.supercat</entry>\r
<entry>Allows user to add/remove users to/from the Supercat \r
group</entry>\r
</row>\r
<row>\r
- <entry>group_application.user.vendor</entry>\r
+ <entry>group_application.user. vendor</entry>\r
<entry>Allows user to add/remove users to/from the Vendor \r
group</entry>\r
</row>\r
<row>\r
- <entry>money.collections_tracker.create</entry>\r
+ <entry>money.collections_tracker. create</entry>\r
<entry>Allows user to put someone into collections</entry>\r
</row>\r
<row>\r
- <entry>money.collections_tracker.delete</entry>\r
+ <entry>money.collections_tracker. delete</entry>\r
<entry>Allows user to take someone out of collections</entry>\r
</row>\r
</tbody>\r
\r
<tgroup cols="7" align="center" colsep="1" rowsep="1">\r
\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="1" colname="col1" align="left" colwidth="2.0*"/>\r
<colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
<colspec colnum="3" colname="col3" colwidth="1.0*"/>\r
<colspec colnum="4" colname="col4" colwidth="1.0*"/>\r
</row>\r
\r
<row>\r
- <entry>CheckIn Missing/Lost/ClaimedReturned overrides</entry>\r
+ <entry>CheckIn Missing/Lost/ ClaimedReturned overrides</entry>\r
<entry/>\r
<entry/>\r
<entry>*</entry>\r
</row>\r
\r
<row>\r
- <entry>MaxRenewalReached override</entry>\r
+ <entry>MaxRenewal Reached override</entry>\r
<entry/>\r
<entry>*</entry>\r
<entry>*</entry>\r