diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fae646..d774496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,18 @@ 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] + +### Added + +- GLPI 12 compatibility +- Sudo mode + ## [1.5.4] - 2026-08-04 ### Fixed - Show the specific OAuth authorization error instead of a generic message -- Ignore the connection host/port/security level entered on the authorization diagnostic form and always use the provider's own values -- Escape mail collector host and login when displayed on the application's "Mail collectors" tab ## [1.5.3] - 2026-06-24 diff --git a/inc/application.class.php b/inc/application.class.php index c10ad7a..21edcac 100644 --- a/inc/application.class.php +++ b/inc/application.class.php @@ -66,6 +66,11 @@ public static function getIcon() return 'ti ti-login-2'; } + protected static function itemTypeRequiresReauthentication(): bool + { + return true; + } + public static function canCreate(): bool { return static::canUpdate(); diff --git a/inc/authorization.class.php b/inc/authorization.class.php index 978c24e..3c5ba58 100644 --- a/inc/authorization.class.php +++ b/inc/authorization.class.php @@ -43,6 +43,11 @@ class PluginOauthimapAuthorization extends CommonDBChild // From CommonGlpi protected $displaylist = false; + protected static function itemTypeRequiresReauthentication(): bool + { + return true; + } + // From CommonDBTM public $dohistory = true;