projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74ea620
)
Bug 7804 - Add Koha Plugin System - QA Followup - Add flags and permissions sql
author
Kyle M Hall
<kyle@bywatersolutions.com>
Fri, 8 Feb 2013 14:48:38 +0000
(09:48 -0500)
committer
Jared Camins-Esakov
<jcamins@cpbibliography.com>
Wed, 20 Mar 2013 18:49:58 +0000
(14:49 -0400)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
16 files changed:
installer/data/mysql/de-DE/mandatory/userflags.sql
patch
|
blob
|
history
installer/data/mysql/de-DE/mandatory/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/en/mandatory/userflags.sql
patch
|
blob
|
history
installer/data/mysql/en/mandatory/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/es-ES/mandatory/userflags.sql
patch
|
blob
|
history
installer/data/mysql/es-ES/mandatory/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
patch
|
blob
|
history
installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/it-IT/necessari/userflags.sql
patch
|
blob
|
history
installer/data/mysql/it-IT/necessari/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
patch
|
blob
|
history
installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/pl-PL/mandatory/userflags.sql
patch
|
blob
|
history
installer/data/mysql/pl-PL/mandatory/userpermissions.sql
patch
|
blob
|
history
installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
patch
|
blob
|
history
installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
patch
|
blob
|
history
diff --git
a/installer/data/mysql/de-DE/mandatory/userflags.sql
b/installer/data/mysql/de-DE/mandatory/userflags.sql
index
aeccf76
..
50b567e
100644
(file)
--- a/
installer/data/mysql/de-DE/mandatory/userflags.sql
+++ b/
installer/data/mysql/de-DE/mandatory/userflags.sql
@@
-15,3
+15,4
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','Normdaten ändern',0);
INSERT INTO `userflags` VALUES(15,'serials','Zugang auf Abonnementverwaltung/Zeitschriftenmodul',0);
INSERT INTO `userflags` VALUES(16,'reports','Zugang auf Reportmodul',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Berechtigungen für Bibliotheksmitarbeiter vergeben',0);
INSERT INTO `userflags` VALUES(15,'serials','Zugang auf Abonnementverwaltung/Zeitschriftenmodul',0);
INSERT INTO `userflags` VALUES(16,'reports','Zugang auf Reportmodul',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Berechtigungen für Bibliotheksmitarbeiter vergeben',0);
+INSERT INTO `userflags` VALUES(19, 'plugins', 'Koha plugins', '0');
diff --git
a/installer/data/mysql/de-DE/mandatory/userpermissions.sql
b/installer/data/mysql/de-DE/mandatory/userpermissions.sql
index
f203a8d
..
dc281a9
100644
(file)
--- a/
installer/data/mysql/de-DE/mandatory/userpermissions.sql
+++ b/
installer/data/mysql/de-DE/mandatory/userpermissions.sql
@@
-52,5
+52,8
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Abonnements verlängern'),
(15, 'routing', 'Umlauflisten verwalten'),
(16, 'execute_reports', 'SQL-Reports ausführen'),
(15, 'renew_subscription', 'Abonnements verlängern'),
(15, 'routing', 'Umlauflisten verwalten'),
(16, 'execute_reports', 'SQL-Reports ausführen'),
- (16, 'create_reports', 'SQL-Reports erstellen')
+ (16, 'create_reports', 'SQL-Reports erstellen'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/en/mandatory/userflags.sql
b/installer/data/mysql/en/mandatory/userflags.sql
index
926e53b
..
c098dd1
100644
(file)
--- a/
installer/data/mysql/en/mandatory/userflags.sql
+++ b/
installer/data/mysql/en/mandatory/userflags.sql
@@
-15,3
+15,4
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','Edit Authorities',0);
INSERT INTO `userflags` VALUES(15,'serials','Manage serial subscriptions',0);
INSERT INTO `userflags` VALUES(16,'reports','Allow access to the reports module',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Allow staff members to modify permissions for other staff members',0);
INSERT INTO `userflags` VALUES(15,'serials','Manage serial subscriptions',0);
INSERT INTO `userflags` VALUES(16,'reports','Allow access to the reports module',0);
INSERT INTO `userflags` VALUES(17,'staffaccess','Allow staff members to modify permissions for other staff members',0);
+INSERT INTO `userflags` VALUES(19, 'plugins', 'Koha plugins', '0');
\ No newline at end of file
diff --git
a/installer/data/mysql/en/mandatory/userpermissions.sql
b/installer/data/mysql/en/mandatory/userpermissions.sql
index
8577ef2
..
124e030
100644
(file)
--- a/
installer/data/mysql/en/mandatory/userpermissions.sql
+++ b/
installer/data/mysql/en/mandatory/userpermissions.sql
@@
-52,5
+52,9
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
- (16, 'create_reports', 'Create SQL Reports')
+ (16, 'create_reports', 'Create SQL Reports'),
+ (19, 'manage', 'Manage plugins ( install / uninstall )'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/es-ES/mandatory/userflags.sql
b/installer/data/mysql/es-ES/mandatory/userflags.sql
index
e9d9b2e
..
85b977a
100644
(file)
--- a/
installer/data/mysql/es-ES/mandatory/userflags.sql
+++ b/
installer/data/mysql/es-ES/mandatory/userflags.sql
@@
-15,3
+15,4
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','Allow to edit authorities',
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(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(19, 'plugins', 'Koha plugins', '0');
diff --git
a/installer/data/mysql/es-ES/mandatory/userpermissions.sql
b/installer/data/mysql/es-ES/mandatory/userpermissions.sql
index
8577ef2
..
f731eab
100644
(file)
--- a/
installer/data/mysql/es-ES/mandatory/userpermissions.sql
+++ b/
installer/data/mysql/es-ES/mandatory/userpermissions.sql
@@
-52,5
+52,8
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
- (16, 'create_reports', 'Create SQL Reports')
+ (16, 'create_reports', 'Create SQL Reports'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
b/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
index
68fea6e
..
7c3c233
100644
(file)
--- a/
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
+++ b/
installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql
@@
-16,3
+16,4
@@
INSERT INTO `userflags` VALUES(13,'tools','Outils (export, import, impression de
INSERT INTO `userflags` VALUES(14,'editauthorities','Gestion des autorités',0);
INSERT INTO `userflags` VALUES(15,'serials','Gestion du module périodique',0);
INSERT INTO `userflags` VALUES(16,'reports','Accès aux statistiques',0);
INSERT INTO `userflags` VALUES(14,'editauthorities','Gestion des autorités',0);
INSERT INTO `userflags` VALUES(15,'serials','Gestion du module périodique',0);
INSERT INTO `userflags` VALUES(16,'reports','Accès aux statistiques',0);
+INSERT INTO `userflags` VALUES(19, 'plugins', 'Koha plugins', '0');
diff --git
a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
b/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
index
3c57a81
..
8edc356
100644
(file)
--- a/
installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
+++ b/
installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
@@
-52,6
+52,9
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renouveler les abonnements'),
(15, 'routing', 'Mettre en circulation'),
(16, 'execute_reports', 'Lancer les rapports SQL'),
(15, 'renew_subscription', 'Renouveler les abonnements'),
(15, 'routing', 'Mettre en circulation'),
(16, 'execute_reports', 'Lancer les rapports SQL'),
- (16, 'create_reports', 'Créer les rapports SQL Reports')
+ (16, 'create_reports', 'Créer les rapports SQL Reports'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/it-IT/necessari/userflags.sql
b/installer/data/mysql/it-IT/necessari/userflags.sql
index
eaabb50
..
6f551ad
100644
(file)
--- a/
installer/data/mysql/it-IT/necessari/userflags.sql
+++ b/
installer/data/mysql/it-IT/necessari/userflags.sql
@@
-17,5
+17,6
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','autorizza la modifica delle
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(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(19, 'plugins', 'Koha plugins', '0');
SET FOREIGN_KEY_CHECKS=1;
\ No newline at end of file
SET FOREIGN_KEY_CHECKS=1;
\ No newline at end of file
diff --git
a/installer/data/mysql/it-IT/necessari/userpermissions.sql
b/installer/data/mysql/it-IT/necessari/userpermissions.sql
index
31e6e18
..
96746cc
100644
(file)
--- a/
installer/data/mysql/it-IT/necessari/userpermissions.sql
+++ b/
installer/data/mysql/it-IT/necessari/userpermissions.sql
@@
-54,6
+54,9
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Rinnova un abbonamento'),
(15, 'routing', 'Crea/Manipola liste di distribuzione dei fascicoli ( routing list)'),
(16, 'execute_reports', 'Esegui reports SQL'),
(15, 'renew_subscription', 'Rinnova un abbonamento'),
(15, 'routing', 'Crea/Manipola liste di distribuzione dei fascicoli ( routing list)'),
(16, 'execute_reports', 'Esegui reports SQL'),
- (16, 'create_reports', 'Crea reports SQL')
+ (16, 'create_reports', 'Crea reports SQL'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
SET FOREIGN_KEY_CHECKS=1;
;
SET FOREIGN_KEY_CHECKS=1;
diff --git
a/installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
b/installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
index
2e73c7f
..
c9062fa
100644
(file)
--- a/
installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
+++ b/
installer/data/mysql/nb-NO/1-Obligatorisk/userflags.sql
@@
-36,3
+36,4
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','Tilgang til å endre autori
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(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(19, 'plugins', 'Koha plugins', '0');
diff --git
a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
index
7977865
..
ba56e3a
100644
(file)
--- a/
installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
+++ b/
installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
@@
-72,5
+72,8
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Fornye abonnementer'),
(15, 'routing', 'Sirkulasjon'),
(16, 'execute_reports', 'Kjøre SQL-rapporter'),
(15, 'renew_subscription', 'Fornye abonnementer'),
(15, 'routing', 'Sirkulasjon'),
(16, 'execute_reports', 'Kjøre SQL-rapporter'),
- (16, 'create_reports', 'Opprette SQL-rapporter')
+ (16, 'create_reports', 'Opprette SQL-rapporter'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/pl-PL/mandatory/userflags.sql
b/installer/data/mysql/pl-PL/mandatory/userflags.sql
index
e9d9b2e
..
85b977a
100644
(file)
--- a/
installer/data/mysql/pl-PL/mandatory/userflags.sql
+++ b/
installer/data/mysql/pl-PL/mandatory/userflags.sql
@@
-15,3
+15,4
@@
INSERT INTO `userflags` VALUES(14,'editauthorities','Allow to edit authorities',
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(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(19, 'plugins', 'Koha plugins', '0');
diff --git
a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql
b/installer/data/mysql/pl-PL/mandatory/userpermissions.sql
index
02b2551
..
5659aba
100644
(file)
--- a/
installer/data/mysql/pl-PL/mandatory/userpermissions.sql
+++ b/
installer/data/mysql/pl-PL/mandatory/userpermissions.sql
@@
-53,5
+53,8
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
- (16, 'create_reports', 'Create SQL Reports')
+ (16, 'create_reports', 'Create SQL Reports'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
b/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
index
868c3c0
..
a7123ba
100644
(file)
--- a/
installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
+++ b/
installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
@@
-17,7
+17,8
@@
INSERT INTO userflags (bit, flag, flagdesc, defaulton) VALUES
(14,'editauthorities', 'Разрешение на изменение авторитетных источников',0),
(15,'serials', 'Разрешение на управление подпиской периодических изданий',0),
(16,'reports', 'Разрешение на доступ к модулю отчетов',0),
(14,'editauthorities', 'Разрешение на изменение авторитетных источников',0),
(15,'serials', 'Разрешение на управление подпиской периодических изданий',0),
(16,'reports', 'Разрешение на доступ к модулю отчетов',0),
- (17,'staffaccess', 'Смена имени(логина)/привилегий для работников библиотеки',0)
+ (17,'staffaccess', 'Смена имени(логина)/привилегий для работников библиотеки',0),
+ (19,'plugins', 'Koha plugins', '0')
;
TRUNCATE permissions;
;
TRUNCATE permissions;
@@
-76,6
+77,9
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
- (16, 'create_reports', 'Create SQL Reports')
+ (16, 'create_reports', 'Create SQL Reports'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;
diff --git
a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
b/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
index
8d0126b
..
366764c
100644
(file)
--- a/
installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
+++ b/
installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
@@
-17,7
+17,8
@@
INSERT INTO userflags (bit, flag, flagdesc, defaulton) VALUES
(14,'editauthorities', 'Дозвіл на редагування авторитетних джерел',0),
(15,'serials', 'Дозвіл на керування підпискою періодичних видань',0),
(16,'reports', 'Дозвіл на доступ до модуля звітів',0),
(14,'editauthorities', 'Дозвіл на редагування авторитетних джерел',0),
(15,'serials', 'Дозвіл на керування підпискою періодичних видань',0),
(16,'reports', 'Дозвіл на доступ до модуля звітів',0),
- (17,'staffaccess', 'Зміна імені(логіну)/привілеїв для працівників бібліотеки',0)
+ (17,'staffaccess', 'Зміна імені(логіну)/привілеїв для працівників бібліотеки',0),
+ (19,'plugins', 'Koha plugins', '0')
;
TRUNCATE permissions;
;
TRUNCATE permissions;
@@
-76,6
+77,9
@@
INSERT INTO permissions (module_bit, code, description) VALUES
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
(15, 'renew_subscription', 'Renew a subscription'),
(15, 'routing', 'Routing'),
(16, 'execute_reports', 'Execute SQL reports'),
- (16, 'create_reports', 'Create SQL Reports')
+ (16, 'create_reports', 'Create SQL Reports'),
+ (19, 'tool', 'Use tool plugins'),
+ (19, 'report', 'Use report plugins'),
+ (19, 'configure', 'Configure plugins')
;
;