diff --git a/CHANGELOG.md b/CHANGELOG.md index ac22f62..a83a9e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Add Transifex translations link to README +### Changed + +- Make the plugin compatible with the Content Security Policy + ## [2.7.0] - 2026-10-06 ### Added diff --git a/setup.php b/setup.php index 433c955..dceedbb 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,