Bug 7984 [SIGNED-OFF] - Fix the upload_local_cover_images permission

upload_local_cover_images is needed to use the new, cool local covers
feature

This patch
- adds upload_local_cover_images to
  installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
  from whch it was missing, making it impossible to use the local
  covers feature in an nb-NO installation
- translates the text of the preference for de-DE (thanks to cait,
  drojf and mveron for the translation)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Marc Veron <veron@veron.ch>

I did no fresh installs, however I
- had a look at the files before and after applying the patch
- carefully checked the syntax
- tested with MySQL by removing the entry in the table 'permissions'
  double checked that now the entry in Staff client was one
  and then did  an insert with the sql snippets.
  In DE-de the translated entry translation appeared as expected.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Magnus Enger 2012-04-19 21:22:01 +02:00 committed by Paul Poulain
parent 491a00f0a2
commit e8ad24ca78
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
(13, 'manage_csv_profiles', 'CSV-Profile für Export verwalten'),
(13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'),
(13, 'rotating_collections', 'Wandernde Sammlungen verwalten'),
(13, 'upload_local_cover_images', 'Upload local cover images'),
(13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'),
(15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
(15, 'claim_serials', 'Fehlende Hefte reklamieren'),
(15, 'create_subscription', 'Neues Abonnement anlegen'),

View file

@ -57,6 +57,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
(13, 'manage_csv_profiles', 'Administrere CSV eksportprofiler'),
(13, 'moderate_tags', 'Behandle tagger fra lånere'),
(13, 'rotating_collections', 'Administrere roterende samlinger'),
(13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
(15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
(15, 'claim_serials', 'Purre manglende tidsskrifthefter'),
(15, 'create_subscription', 'Opprette abonnementer'),