Skip to content

[stable30] fix(systemtags): Provide initial state for admin restriction setting - #55802

Closed
backportbot[bot] wants to merge 1 commit into
stable30from
backport/55177/stable30
Closed

[stable30] fix(systemtags): Provide initial state for admin restriction setting#55802
backportbot[bot] wants to merge 1 commit into
stable30from
backport/55177/stable30

Conversation

@backportbot

@backportbotbackportbotBot commented Oct 15, 2025

Copy link
Copy Markdown

Backport of #55177

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

The “Restrict tag creation and editing to administrators” switch in the SystemTags
admin settings was not reflecting the correct database value on page load.
This happened because no initial state was being provided.
Fix
This change ensures the correct initial state is set by:
- Injecting IAppConfig and IInitialState dependencies.
- Following the same initial state provisioning pattern used by other admin settings in Nextcloud.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
[skip ci]
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@blizzz@nfebe