From b5256181a49813063a8e6490316f7eed3a4341d5 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 27 Sep 2024 21:40:30 +0200 Subject: fix(settings): Sort all settings - incl declarative settings - by priority Previously declarative settings were sorted by priority but behind the "native" settings, this is now fixed, meaning a declarative setting with higher priority than an `ISetting` will be correctly rendered before that `ISetting` in the settings list. Signed-off-by: Ferdinand Thiessen --- lib/public/Settings/IManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public/Settings/IManager.php') diff --git a/lib/public/Settings/IManager.php b/lib/public/Settings/IManager.php index d73e4055f31..0bb1a396671 100644 --- a/lib/public/Settings/IManager.php +++ b/lib/public/Settings/IManager.php @@ -89,7 +89,7 @@ interface IManager { /** * Returns a list of admin settings that the given user can use for the give section * - * @return array> The array of admin settings there admin delegation is allowed. + * @return array> List of admin-settings the user has access to, with priority as key. * @since 23.0.0 */ public function getAllowedAdminSettings(string $section, IUser $user): array; -- cgit v1.2.3