Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(systemtags): add setting to block non admin to create system tags #49514

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Nov 27, 2024

Summary

Allows admins to restrict tag creation to admins only

Switch with:

occ conf:app:set systemtags --type boolean only_admins_can_create --value 0|1

TODO

  • Add frontend switch in system tags settings
  • Change display on tag selection for users who can't create tags
  • Block color changing too

Checklist

@Altahrim Altahrim added this to the Nextcloud 31 milestone Nov 27, 2024
@Altahrim Altahrim self-assigned this Nov 27, 2024
@Altahrim Altahrim force-pushed the feat/restrict-tag-creation branch 4 times, most recently from d561ba1 to 7ed6833 Compare November 28, 2024 12:36
@Altahrim Altahrim force-pushed the feat/restrict-tag-creation branch from 7ed6833 to c158e06 Compare December 9, 2024 09:23
@nfebe nfebe force-pushed the feat/restrict-tag-creation branch 3 times, most recently from 8c7bd05 to 06bb2f1 Compare December 20, 2024 12:04
@nfebe nfebe force-pushed the feat/restrict-tag-creation branch 2 times, most recently from e27715d to d8d3c7e Compare January 2, 2025 14:55
@nfebe
Copy link
Contributor

nfebe commented Jan 6, 2025

Frontend switch

Enabled Disabled
enabled-tag-creation-non-admins disabled-tag-creation-non-admins

Error view

Error NA
error-cant-update-systag NA

@nfebe nfebe force-pushed the feat/restrict-tag-creation branch from 761f142 to 5820d00 Compare January 6, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗️ In progress
Development

Successfully merging this pull request may close these issues.

2 participants