From 14d8800f99f05978004343f80a6a53304493d390 Mon Sep 17 00:00:00 2001
From: Oliver Hader <oliver@typo3.org>
Date: Mon, 9 Sep 2024 22:27:33 +0200
Subject: [PATCH] [TASK] Drop @internal for sudo-mode AccessLifetime
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Since AccessLifetime is allowed to be use in any module/route
configuration, it should not be marked `@internal`.

Resolves: #104870
Releases: main, 12.4
Change-Id: I7614f537e07d5d4c762bf1dc1ac42b0d5c91de87
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85938
Tested-by: Lina Wolf <112@linawolf.de>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Lina Wolf <112@linawolf.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
---
 .../backend/Classes/Security/SudoMode/Access/AccessLifetime.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/typo3/sysext/backend/Classes/Security/SudoMode/Access/AccessLifetime.php b/typo3/sysext/backend/Classes/Security/SudoMode/Access/AccessLifetime.php
index 322554241a9f..2e87eece0553 100644
--- a/typo3/sysext/backend/Classes/Security/SudoMode/Access/AccessLifetime.php
+++ b/typo3/sysext/backend/Classes/Security/SudoMode/Access/AccessLifetime.php
@@ -19,8 +19,6 @@ namespace TYPO3\CMS\Backend\Security\SudoMode\Access;
 
 /**
  * Defines the lifetime of the sudo mode in a human-readable form.
- *
- * @internal
  */
 enum AccessLifetime: string
 {
-- 
GitLab