diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fe83bf..ad1cd26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] + +### Changed + +- Make the plugin compatible with the Content Security Policy + ## [2.6.3] - 2026-10-06 ### Fixed diff --git a/setup.php b/setup.php index ba66123..f2d7788 100644 --- a/setup.php +++ b/setup.php @@ -92,11 +92,12 @@ function plugin_itilcategorygroups_check_prerequisites() function plugin_version_itilcategorygroups() { return [ - 'name' => __s('ItilCategory Groups', 'itilcategorygroups'), - 'version' => PLUGIN_ITILCATEGORYGROUPS_VERSION, - 'author' => "TECLIB'", - 'homepage' => 'https://github.com/pluginsGLPI/itilcategorygroups', - 'requirements' => [ + 'name' => __s('ItilCategory Groups', 'itilcategorygroups'), + 'version' => PLUGIN_ITILCATEGORYGROUPS_VERSION, + 'author' => "TECLIB'", + 'homepage' => 'https://github.com/pluginsGLPI/itilcategorygroups', + 'csp_compliant' => true, + 'requirements' => [ 'glpi' => [ 'min' => PLUGIN_ITILCATEGORYGROUPS_MIN_GLPI, 'max' => PLUGIN_ITILCATEGORYGROUPS_MAX_GLPI,