# Als een gebruiker een hoog genoeg vertrouwensniveau heeft om een tag te maken, wat gebeurt er dan als ze proberen een tag te maken in een categorie met beperkingen?

**URL:** https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624
**Category:** Support
**Tags:** tags
**Created:** [21 oktober 2022 om 17:26 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624 "2022-10-21T17:26:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [21 oktober 2022 om 17:26 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/1 "2022-10-21T17:26:31Z")

</div>

I have a category with:

- **Restrict these tag groups to this category** set to a number of tag groups
- **Also allow other tags** _not_ checked

and I don’t think this matters, but for completeness:

- **Require new topics to have tags from tag groups** set to “1” and one of the tag groups above.

Right now, I have tag creation restricted to admins — each tag should be associated with an active project team, and I don’t want them created arbitrarily and without some of the window-dressing we use \[1\].

However, once we merge in [Ask Fedora](https://ask.fedoraproject.org/), we may want to lower tag creation level to TL2 or TL3.

If we do this, what will happen if someone tries to create a new tag in the first category? Is it:

A) Not just an option — can’t do that here!

or

B) The “Create: ‘_whatever_’” text comes up, you can create the tag, and then fail to post because you’re violating the rules.

or

C) something I have not imagined?

Thank you!

* * *

1. particularly, configuring [Tag Sidebars](https://meta.discourse.org/t/discourse-tag-sidebars/111114)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [21 oktober 2022 om 18:27 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/2 "2022-10-21T18:27:30Z")

</div>

> [@mattdm](#):
>
> I have tag creation restricted to admins

Great! Only admins can assign tags.

> [@mattdm](#):
>
> I don’t want them created arbitrarily

Bummer. Admins are exempt from your rules. ~~Somewhere there’s a~~ You created a topic about it. It would be nice if it would at least warn admins that they were misbehaving, and better still if it would make it easier for the to do the Right Thing, but that ain’t the way the (current) world is.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [21 oktober 2022 om 18:31 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/3 "2022-10-21T18:31:08Z")

</div>

> [@pfaffman](#):
>
> Somewhere there’s a topic about it

> [@Make category tag rules / restrictions apply to moderators too](https://meta.discourse.org/t/request-make-category-tag-rules-restrictions-apply-to-moderators-too/240496):
>
> Problem: We have moderators who are also very active users of the site We’re using tag groups and tag requirements heavily — it’s fundamental to the structure of the site. [[1]](#footnote-1172192-1) Moderator powers are [always on](https://meta.discourse.org/t/regular-mode-for-admins-and-moderators-e-g-something-like-sudo/211617), even if someone with moderator status is just posting. Together, this means it is easy to inadvertently mess up. Request Please make tag requirements for categories apply even to moderators and admins.[[2]](#footnote-1172192-2) See [Navigating Fedora Discussion — Tags, Categories, and Concepts - Fedora Discu…](https://discussion.fedoraproject.org/t/navigating-fedora-discussion-tags-categories-and-concepts/35555)

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [21 oktober 2022 om 18:37 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/4 "2022-10-21T18:37:11Z")

</div>

Right, yeah, that’s me — and that’s why I’m asking rather than trying it.

But this question is somewhat different. I’m wondering how the category tag rules and the “min trust to create tag” site setting interact.

---

<div class="post-metadata">

### Author: ![jessii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jessii/32/354015_2.png) [@jessii](https://meta.discourse.org/u/jessii)
#### Post date: [27 oktober 2022 om 00:47 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/5 "2022-10-27T00:47:48Z")

</div>

Hey Matthew! If someones doesn’t meet the required trust level to create tags and they try to create a new tag in a topic they should just see `No matches found` instead of that “Create:\_\_\_” text, like in the screenshot below:

 ![Screenshot 2022-10-26 at 5.32.57 PM](https://global.discourse-cdn.com/meta/original/4X/0/3/b/03b103a8eed327985459e84455815cc71b6bb71e.png)

They only be able to select a tag from the group(s) you have set for your `Restrict these tag groups to this category`.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [27 oktober 2022 om 02:36 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/6 "2022-10-27T02:36:34Z")

</div>

Hi @jessii, and thanks. I’m asking about the _other_ way.

If:

1. there is a tag group requirement for that category, and
2. no other tags are allowed, and
3. a user has TL2, and
4. `min trust to create tag` is set to TL2, and
5. that user tries (inadvertently, perhaps) to create a new tag when making a new post…

what happens?

---

<div class="post-metadata">

### Author: ![jessii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jessii/32/354015_2.png) [@jessii](https://meta.discourse.org/u/jessii)
#### Post date: [27 oktober 2022 om 04:42 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/7 "2022-10-27T04:42:32Z")

</div>

Oh I see, my apologies!

If the user tries to create a tag but there is a tag group requirement for that category then they’ll see  
`The ___category does not allow the___ tag. Please remove it`.

Here is what it looks like on my test site:

 ![Screenshot 2022-10-26 at 4.37.30 PM](https://global.discourse-cdn.com/meta/original/4X/b/4/b/b4bdfd8823eac1bc1fce3ea1b0157e5f2e6e48c2.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [26 november 2022 om 04:43 UTC](https://meta.discourse.org/t/if-a-user-has-a-high-enough-trust-level-to-create-a-tag-what-happens-if-they-try-to-create-a-tag-in-a-category-with-restrictions/242624/8 "2022-11-26T04:43:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
