Loading CHANGELOG.md +5 −0 Original line number Diff line number Diff line Journal des modifications ========================= 1.4.9 (07/09/2020) ------------------ - Changement de catégorie pour les privilèges associés aux pages d'information 1.4.8 (01/09/2020) ------------------ Loading doc/release-notes/v1.4.9.md 0 → 100644 +25 −0 Original line number Diff line number Diff line # Version 1.4.8 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 1.4.9 && \ bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.0-fpm : `service php7.0-fpm reload` - apache2-mod-php7.0 : `service apache2 reload` ## 2. Dans la base de données - Création d'une catégorie pour les pages d'information. - Changement du privilège associé à la modification des pages d'information ```SQL INSERT INTO SYGAL_DEV.CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) VALUES (7, 'page-information', 'Pages d''information', 15); UPDATE PRIVILEGE SET CATEGORIE_ID=7 WHERE ID=10; ``` No newline at end of file module/Application/view/application/privilege/partial/form-filtrage.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ echo $this->filterPanel([ ['value' => $v = "fichier-divers", 'label' => $this->translate("Fichier divers")], ['value' => $v = "fichier-commun", 'label' => $this->translate("Fichier commun")], ['value' => $v = "faq", 'label' => $this->translate("FAQ")], ['value' => $v = "page-information", 'label' => $this->translate("Page d'informations")], ], 'filterUrl' => $urlFiltrer, Loading module/Information/src/Information/Provider/Privilege/InformationPrivileges.php +1 −1 Original line number Diff line number Diff line Loading @@ -14,5 +14,5 @@ class InformationPrivileges extends Privileges /** * Todo: créer une catégorie de privilèges 'page-information'. */ const INFORMATION_MODIFIER = 'faq-modifier-information'; const INFORMATION_MODIFIER = 'page-information-modifier-information'; } Loading
CHANGELOG.md +5 −0 Original line number Diff line number Diff line Journal des modifications ========================= 1.4.9 (07/09/2020) ------------------ - Changement de catégorie pour les privilèges associés aux pages d'information 1.4.8 (01/09/2020) ------------------ Loading
doc/release-notes/v1.4.9.md 0 → 100644 +25 −0 Original line number Diff line number Diff line # Version 1.4.8 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 1.4.9 && \ bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.0-fpm : `service php7.0-fpm reload` - apache2-mod-php7.0 : `service apache2 reload` ## 2. Dans la base de données - Création d'une catégorie pour les pages d'information. - Changement du privilège associé à la modification des pages d'information ```SQL INSERT INTO SYGAL_DEV.CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) VALUES (7, 'page-information', 'Pages d''information', 15); UPDATE PRIVILEGE SET CATEGORIE_ID=7 WHERE ID=10; ``` No newline at end of file
module/Application/view/application/privilege/partial/form-filtrage.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ echo $this->filterPanel([ ['value' => $v = "fichier-divers", 'label' => $this->translate("Fichier divers")], ['value' => $v = "fichier-commun", 'label' => $this->translate("Fichier commun")], ['value' => $v = "faq", 'label' => $this->translate("FAQ")], ['value' => $v = "page-information", 'label' => $this->translate("Page d'informations")], ], 'filterUrl' => $urlFiltrer, Loading
module/Information/src/Information/Provider/Privilege/InformationPrivileges.php +1 −1 Original line number Diff line number Diff line Loading @@ -14,5 +14,5 @@ class InformationPrivileges extends Privileges /** * Todo: créer une catégorie de privilèges 'page-information'. */ const INFORMATION_MODIFIER = 'faq-modifier-information'; const INFORMATION_MODIFIER = 'page-information-modifier-information'; }