diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-27 21:40:30 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-28 14:08:26 +0200 |
commit | b5256181a49813063a8e6490316f7eed3a4341d5 (patch) | |
tree | 126cdfb6bcc95fde2c1e6fe730323add68d56143 /lib/public/Settings/IManager.php | |
parent | c470ef0fd7130eb9ab282cbc294ef03059599d80 (diff) | |
download | nextcloud-server-b5256181a49813063a8e6490316f7eed3a4341d5.tar.gz nextcloud-server-b5256181a49813063a8e6490316f7eed3a4341d5.zip |
fix(settings): Sort all settings - incl declarative settings - by priorityfix/declarative-settings-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 <opensource@fthiessen.de>
Diffstat (limited to 'lib/public/Settings/IManager.php')
-rw-r--r-- | lib/public/Settings/IManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
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<int, list<ISettings>> The array of admin settings there admin delegation is allowed. + * @return array<int, list<ISettings>> 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; |