Koha/installer/data/mysql/nb-NO/1-Obligatorisk/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

40 lines
2.4 KiB
SQL

--
-- Default classification sources and filing rules
-- for Koha.
--
-- Copyright (C) 2011 Magnus Enger Libriotech
--
-- This file is part of Koha.
--
-- Koha is free software; you can redistribute it and/or modify it under the
-- terms of the GNU General Public License as published by the Free Software
-- Foundation; either version 2 of the License, or (at your option) any later
-- version.
--
-- Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License along
-- with Koha; if not, write to the Free Software Foundation, Inc.,
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
INSERT INTO `userflags` VALUES(0,'superlibrarian','Tilgang til alle bibliotekarfunksjoner',0);
INSERT INTO `userflags` VALUES(1,'circulate','Sirkulasjon',0);
INSERT INTO `userflags` VALUES(2,'catalogue','Søke i katalogen (internt)',0);
INSERT INTO `userflags` VALUES(3,'parameters','Endre Kohas systempreferanser',0);
INSERT INTO `userflags` VALUES(4,'borrowers','Legge til og endre lånere',0);
INSERT INTO `userflags` VALUES(5,'permissions','Endre brukerrettigheter',0);
INSERT INTO `userflags` VALUES(6,'reserveforothers','Reservere og endre reservasjoner for lånere',0);
INSERT INTO `userflags` VALUES(9,'editcatalogue','Endre katalogen (Endre bibliografiske poster og eksemplaropplysninger)',0);
INSERT INTO `userflags` VALUES(10,'updatecharges','Endre gebyrer for lånere',0);
INSERT INTO `userflags` VALUES(11,'acquisition','Innkjøp og/eller behandling av forslag',0);
INSERT INTO `userflags` VALUES(12,'management','Endre "library managament parameters"',0);
INSERT INTO `userflags` VALUES(13,'tools','Bruke verktøy (eksport, import, strekkoder)',0);
INSERT INTO `userflags` VALUES(14,'editauthorities','Tilgang til å endre autoriteter',0);
INSERT INTO `userflags` VALUES(15,'serials','Tilgang til å endre abonnementer',0);
INSERT INTO `userflags` VALUES(16,'reports','Tilgang til rapportmodulen',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Endre innlogging og rettigheter for bibliotekansatte',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');