Koha/installer/data/mysql/es-ES/mandatory/userflags.sql
Jonathan Druart baea0a79d5 Bug 7976: Remove the borrow permission
The borrow permission was used but uselessly.
For instance, at the opac, the flagsrequired parameter was set to
'borrow' but the 'authnotrequired' was set also (which means no auth
required).
At the end, this permission was used at only 1 place: for the basket,
intranet side.
This can be replaced with the catalogue permission (which is used to
search).

Test plan:
1/ Confirm that you are able to show/download/sent the cart (intranet side)
with the catalogue permission.
2/ At the OPAC, you should be able to access the same pages as before
with any other permissions.

Concretely it is quite difficult to test this patch, you should have a
look at the code.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-06-05 13:43:34 -03:00

19 lines
1.5 KiB
SQL

INSERT INTO `userflags` VALUES(0,'superlibrarian','Access to all librarian functions',0);
INSERT INTO `userflags` VALUES(1,'circulate','Circulate books',0);
INSERT INTO `userflags` VALUES(2,'catalogue','View Catalog (Librarian Interface)',0);
INSERT INTO `userflags` VALUES(3,'parameters','Set Koha system parameters',0);
INSERT INTO `userflags` VALUES(4,'borrowers','Add or modify borrowers',0);
INSERT INTO `userflags` VALUES(5,'permissions','Set user permissions',0);
INSERT INTO `userflags` VALUES(6,'reserveforothers','Place and modify holds for patrons',0);
INSERT INTO `userflags` VALUES(9,'editcatalogue','Edit Catalog (Modify bibliographic/holdings data)',0);
INSERT INTO `userflags` VALUES(10,'updatecharges','Update borrower charges',0);
INSERT INTO `userflags` VALUES(11,'acquisition','Acquisition and/or suggestion management',0);
INSERT INTO `userflags` VALUES(12,'management','Set library management parameters',0);
INSERT INTO `userflags` VALUES(13,'tools','Use tools (export, import, barcodes)',0);
INSERT INTO `userflags` VALUES(14,'editauthorities','Allow to edit authorities',0);
INSERT INTO `userflags` VALUES(15,'serials','Allow to manage serials subscriptions',0);
INSERT INTO `userflags` VALUES(16,'reports','Allow to access to the reports module',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Modify login / permissions for staff users',0);
INSERT INTO `userflags` VALUES(18,'coursereserves','Course Reserves',0);
INSERT INTO `userflags` VALUES(19, 'plugins', 'Koha plugins', '0');
INSERT INTO `userflags` VALUES(20,'lists', 'Lists', '0');