Kyle M Hall
be869ab279
Adds a course reserves system for academic libraries. The course reserves system allows libraries to create courses and put items on reserves for those courses. Each item with at least one reserve can have some of its attributes modified while it is on reserve for at least one active course. These attributes include item type, collection code, shelving location, and holding library. If there are no active courses with this item on reserve, it's attributes will revert to the original attributes it had before going on reserve. Test Plan: 1) Create new authorised value categories DEPARTMENT and TERM 2) Create a new course, add instructors to that course. 3) Reserve items for that course, verify item attributes have changed. 4) Disable course, verify item attributes have reverted. 5) Enable course again, verify item attributes again. 6) Delete course, verify item attributes again. 7) Create two new courses, add the same item(s) to both courses. 8) Disable one course, verify item attributes have not reverted. 9) Disable both courses, verify item attributes have reverted. 10) Enable one course, verify item attributes are again set to the new values. 11) Edit reserve item attributes, verify. 12) Disable all courses, edit reserve item attributes, verify the item itself still has its original attributes, verify the reserve item attributes have been updated. 13) Verify the ability to remove instructors from a course. 14) Verify new permissions, top level coursereserves, with subpermissions add_reserves and delete_reserves. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Corinne Bulac <corinne.hayet@bulac.fr> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> http://bugs.koha-community.org/show_bug.cgi?id=8125
23 lines
1.7 KiB
SQL
23 lines
1.7 KiB
SQL
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
INSERT INTO `userflags` VALUES(0,'superlibrarian','Accesso a tutte le funzioni bibliotecarie',0);
|
|
INSERT INTO `userflags` VALUES(1,'circulate','Libri per la circolazione',0);
|
|
INSERT INTO `userflags` VALUES(2,'catalogue','Visualizza il catalogo (interfaccia del bibliotecario)',0);
|
|
INSERT INTO `userflags` VALUES(3,'parameters','Imposta i parametri di Koha',0);
|
|
INSERT INTO `userflags` VALUES(4,'borrowers','Aggiungi o modifica gli utenti',0);
|
|
INSERT INTO `userflags` VALUES(5,'permissions','Imposta i permessi utente',0);
|
|
INSERT INTO `userflags` VALUES(6,'reserveforothers','Prenota i libri per gli utenti',0);
|
|
INSERT INTO `userflags` VALUES(7,'borrow','Presta i libri',1);
|
|
INSERT INTO `userflags` VALUES(9,'editcatalogue','Modifica il catalogo (modifica i dati bibliografici e titoli)',0);
|
|
INSERT INTO `userflags` VALUES(10,'updatecharges','Aggiorna le tariffe del prestito',0);
|
|
INSERT INTO `userflags` VALUES(11,'acquisition','Gestione delle acquisizioni e dei suggerimenti d\'acquisto',0);
|
|
INSERT INTO `userflags` VALUES(12,'management','Imposta i parametri della gestione della biblioteca',0);
|
|
INSERT INTO `userflags` VALUES(13,'tools','Usa i tools (export, import, barcodes )',0);
|
|
INSERT INTO `userflags` VALUES(14,'editauthorities','autorizza la modifica delle authorities',0);
|
|
INSERT INTO `userflags` VALUES(15,'serials','autorizza la gestione degli abbonamenti ai periodici',0);
|
|
INSERT INTO `userflags` VALUES(16,'reports','autorizza accesso al modulo dei reports',0);
|
|
INSERT INTO `userflags` VALUES(17,'staffaccess','modifica la login o i permessi degli staff users',0);
|
|
INSERT INTO `userflags` VALUES(18,'coursereserves','Course Reserves',0);
|
|
INSERT INTO `userflags` VALUES(19, 'plugins', 'Koha plugins', '0');
|
|
|
|
SET FOREIGN_KEY_CHECKS=1;
|