From 565b3e7b74879ff83cd300291b40b7e70d6c0338 Mon Sep 17 00:00:00 2001 From: Herafia Date: Fri, 4 Sep 2026 11:31:46 +0200 Subject: [PATCH 1/2] mode sudo --- inc/application.class.php | 5 +++++ inc/authorization.class.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/inc/application.class.php b/inc/application.class.php index 2a62b33..54692d6 100644 --- a/inc/application.class.php +++ b/inc/application.class.php @@ -65,6 +65,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 7d2fbfe..d083874 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; From b1da51c9c0572423148929513ab3dd7b18cffcaa Mon Sep 17 00:00:00 2001 From: Herafia Date: Fri, 4 Sep 2026 11:33:10 +0200 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7314036..d774496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,14 @@ 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] +## [UNRELEASED] + +### Added + +- GLPI 12 compatibility +- Sudo mode + +## [1.5.4] - 2026-08-04 ### Fixed