Koha/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
Chris Nighswonger eb7e930eea Bug 7977: Quote-of-the-day (QOTD) Feature for OPAC
This feature will add the option of displaying a select quote
for the day on the OPAC homepage. It will include the addition
of a QOTD editor in the tools section of the staff interface
which will allow the addition, editing, and deletion of quotes.
A single system preference will enable/disable the display of
the QOTD on the OPAC homepage. A new granular permission will
also be added to conrol user access to the QOTD editor tool.

Possible extentions to this would be code to allow alternate
quote selection algorithms to be added to vary how the currently
displayed quote is selected from the table of quotes.

This patch is a squash of the following work:

--Adding quotes table to kohastructure.sql and updatedatabase.pl

Note: This patch is intended for a MySQL based installation only.
That means that it includes backticks because that is what is required
at this point in history to install Koha correctly on a MySQL based
installation.

Feel free to port this over to the Pg stuff in the data/Pg directory.

--Adding system preference to control display of QOTD on OPAC main page
--Adding sample quote data

These quotes are taken from various US presidents. I'm not sure these
are applicable to the rest of the world, so I'm leaving it to translators
and others to add sample quote data for other languages.

--Adding edit_quotes user permissions
--Squash with other db related patches in this series
--Adding quotes editor pages to tools
--Adding QOTD editor link to tools homepage
--Integration of DataTables into QOTD Editor
--Impleminting jEditable into the quote editor
--Adding delete and add option to editor
--Fixing OPAC display so the QOTD div does not show if no quote is returned
--Also removing useless code from tools/quotes.pl
--Adding spans around QOTD foo in opac-main.tt
--Also fixing quote selection logic to accomodate the possibility of
    a single quote in the db a litte better.
--Changing timestamp column header to a more user-friendly 'Last Displayed'
--Fixing bug in quote selection logic. This bug caused a situation where
    when the table had only a single quote with an id greater than 1 in it,
    no quote would be selected.
--Fixing up sorting in the quote editor table. --jcamins
--Adding span element to quote separator --jcamins
--Overriding the default empty table message supplied by datatables-strings.inc
--Adds missing page heading
--Adds beginning of click-for-help elements.
--Refactors delete functionality to allow selecting of quotes to delete,
    enabling multi-delete.
--Refactors saving added quote functionality so that striking <Enter>
    saves the new quote.
--Refactors canceling aded quote functionality so that striking <Esc>
    cancels the new quote.
--Removing debug console.log statements
--Implementng the YUI button widget/toolbar used on other pages.
--Adds a 5px radius to all YUI buttons to bring them into
    conformity with the general trend toward rounded corners
--Fixes capitalization in quote editor
--Implements improvements suggested by jcamins and oleonard
--Adds DataTables Plugin dataTables.fnReloadAjax.js

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
2012-05-24 14:14:05 +02:00

53 lines
3.6 KiB
SQL

INSERT INTO permissions (module_bit, code, description) VALUES
( 1, 'circulate_remaining_permissions', 'Fonctions de circulation restantes'),
( 1, 'override_renewals', 'Outrepasser les limites de renouvellement'),
( 6, 'place_holds', 'Réserver pour des adhérents'),
( 6, 'modify_holds_priority', 'Modifier la priorité des réservations'),
( 9, 'edit_catalogue', 'Ajouter et modifier des notices au catalogue'),
( 9, 'fast_cataloging', 'Catalogage rapide'),
( 9, 'edit_items', 'Modifier des exemplaires'),
(13, 'edit_news', 'Ecrire des nouvelles pour l''OPAC et l''interface professionnelle'),
(13, 'label_creator', 'Créer des étiquettes à partir des données du catalogues et des adhérents'),
(13, 'edit_calendar', 'Définir les jours de fermeture de la bibliothèque'),
(13, 'moderate_comments', 'Modérer les commentaires des adhérents'),
(13, 'edit_notices', 'Définir les notifications'),
(13, 'edit_notice_status_triggers', 'Définir les déclencheurs de notification de retard'),
(13, 'edit_quotes', 'Edit quotes for quote-of-the-day feature'),
(13, 'view_system_logs', 'Parcourir les journaux de l''activité du système'),
(13, 'inventory', 'Réaliser les tâches de récolement'),
(13, 'stage_marc_import', 'Importer des notices MARC dans le réservoir'),
(13, 'manage_staged_marc', 'Gérer les notices du réservoir, les charger ou annuler leur chargement'),
(13, 'export_catalog', 'Exporter des notices bibliographiques et leurs exemplaires'),
(13, 'import_patrons', 'Importer des données d''adhérents'),
(13, 'edit_patrons', 'Modification par lot des lecteurs'),
(13, 'delete_anonymize_patrons', 'Supprimer les anciens adhérents et anonymiser l''historique des prêts (supprime l''historique des prêts des lecteurs'),
(13, 'batch_upload_patron_images', 'Charger sur le serveur les images des adhérents par lot ou un par un'),
(13, 'schedule_tasks', 'Planifier les tâches à exécuter'),
(11, 'vendors_manage', 'Gérer les fournisseurs'),
(11, 'contracts_manage', 'Gérer les contrats'),
(11, 'period_manage', 'Gérer les périodes'),
(11, 'budget_manage', 'Gérer les budgets'),
(11, 'budget_modify', 'Modifier les budgets (impossible de créer les lignes, mais possible de modifier celles qui existent'),
(11, 'planning_manage', 'Gérer de la planification des budgets'),
(11, 'order_manage', 'Gérer les commandes et les paniers'),
(11, 'group_manage', 'Gérer les commandes et les bons de commande'),
(11, 'order_receive', 'Gérer les réceptions'),
(11, 'budget_add_del', 'Ajouter et supprimer les budgets (mais pas modifier)'),
(13, 'manage_csv_profiles', 'Gérer les profils d''export CSV'),
(13, 'moderate_tags', 'Modérer les tags des adhérents'),
(13, 'rotating_collections', 'Gérer les collections tournantes'),
(13, 'items_batchmod', 'Modifier les exemplaires par lot'),
(13, 'items_batchdel', 'Supprimer les exemplaires par lot'),
(13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
(15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
(15, 'claim_serials', 'Réclamer les périodiques manquants'),
(15, 'create_subscription', 'Créer de nouveaux abonnements'),
(15, 'delete_subscription', 'Supprimer un abonnement existant'),
(15, 'edit_subscription', 'Modifier un abonnement existant'),
(15, 'receive_serials', 'Bulletiner les périodiques'),
(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')
;