Skip to content

fix(systemtags): Read tag creation restriction from systemtags state - #67677

Open
kukanggg89 wants to merge 1 commit into
nextcloud:masterfrom
kukanggg89:fix-systemtags-restrict-admin-67606
Open

kukanggg89 wants to merge 1 commit into
nextcloud:masterfrom
kukanggg89:fix-systemtags-restrict-admin-67606

Conversation

@kukanggg89

Copy link
Copy Markdown
Contributor

SystemTags.vue read restrictSystemTagsCreationToAdmin from the settings app initial state, which only exists on the admin settings page, so it was always false in the Files sidebar and a failed tag creation always showed the generic error. Read it from the systemtags app initial state instead, like SystemTagPicker does, and reset the loading state when creation fails instead of leaving the component stuck loading.

Fixes #67606

Assisted-by: Muse:Muse Spark 1.3

  • Resolves: #

Summary

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

SystemTags.vue read restrictSystemTagsCreationToAdmin from the
settings app initial state, which only exists on the admin settings
page, so it was always false in the Files sidebar and a failed tag
creation always showed the generic error. Read it from the
systemtags app initial state instead, like SystemTagPicker does,
and reset the loading state when creation fails instead of leaving
the component stuck loading.

Fixes nextcloud#67606

Signed-off-by: parel <farelalfarizi89@gmail.com>
Assisted-by: Muse:Muse Spark 1.3
@kukanggg89
kukanggg89 requested a review from a team as a code owner December 4, 2026 04:38
@kukanggg89
kukanggg89 requested review from pringelmann and skjnldsv and removed request for a team December 4, 2026 04:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Files sidebar: tag creation error ignores the "restrict to admins" setting

1 participant