User cannot create a new topic and tag it during creation - The tags are not listed

I have a regular user that is trust_level_0 and trust_level_1 , and I have these settings:

tag topic allowed groups: admins, moderators, staff, trust_level_0
create topic allowed groups: admins, moderators, trust_level_1
create tag allowed groups: admins, moderators, staff

The user can create the topics, but he can not use tags when he is creating the topic. He can use the tags for search but the tags are not listed when creating a topic.

Is my setting incorrect? Am I missing something? Whit staff or admin user I can do both at once. Thanks for any advice.

2 Likes

It has caught more than a few people out, but admin and mods can skip a lot of the restrictions that apply to everyone else.

Do you have any other restrictions placed on your tags? Like a tag group that only x group can use, or any restrictions you’ve placed on tags in a particular category?

If you go to a tag page and click the tag wrench (:information_source: for non-staff) it should show you some more information that may be able to help track any extra limitations you’ve placed on it. Eg broken here on meta:

2 Likes

could be possible that Discourse is not handling the mix between trust_level_0 and trust_level_1 when creating the topic and tagging it?

Should I add trust_level_1 to this:

and add trust_level_0 in this line :

Anyone that is in trust_level_1 is also in trust_level_0 by default.

3 Likes

You may want to allow TL0 to be able to create topics, depending on your site setup, as people will often sign up to ask a question, etc and could be confused as to why they can’t (possibly giving up before figuring it out).

But I don’t think this would explain the problem you’re having.

Is this issue happening for just this user? Are other people able to successfully tag topics?

Could you give any more detail about how you’ve set your tags up?

As @HAWK said, anyone that is in trust_level_one is by default in trust_level_0, and for that reason it’s confusing for me. There are more than one user with this problem.I checked tags that can be used in the Categories that we need.

@JammyDodger , what could be interesting to check in my tags set up?

1 Like

Tags are pretty flexible and can be configured in lots of different ways so we may need some more detail on how you’ve set yours up to provide more specific suggestions.

Though a common one is when a category has been set up to have certain tags only allowed to be used in that category and the ‘also allow other tags’ hasn’t been checked. That could limit the category to only the restricted tags and if those ones are staff-only this could prevent anyone else from using any other tags.

Just to follow up (though hopefully you’ve already managed to track it down :crossed_fingers:), but Moin gave a thorough troubleshooting post for a similar thing here:

2 Likes

Hey @JammyDodger. I’ve been tangled with other issues at work but I’m still stuck with this. Z

Ok, I have my Categories, and in the “Tags” settings of the category I hav:

Restrict these tag GROUPS to this category: TAG-GRP1, TAG-GRP2

When I go to “Manage Tag Groups” I have:

TAG-GRP1:

Name: TAG-GRP1
Tags in this group:  A LIST OF MY TAGS FOR TAG-GRP1
Parent tag: -
Limit one tag per topic from this group (unchecked)

TAG-GRP2:

Name: TAG-GRP2
Tags in this group:  A LIST OF MY TAGS FOR TAG-GRP2
Parent tag: -
Limit one tag per topic from this group (unchecked)

Tags are visible only to the following groups: admin, moderators, trust_level_0, trust_level_1

And when I check as Admin the tag that I want to use when creating a topic I can see this:

This tag belongs to these groups: . It can only be used in these categories: TAG-GRP1, TAG-GRP2

I already have TL0 and TL1 in “tag topic allowed groups” and “create topic allowed groups”. But with a regular user TL1 I can not use some tags.

Did you manage to check out the troubleshooting post I linked above yet? It’s pretty thorough and could help point you in the right direction.

I’m not sure you’ve copied that over accurately?

Just as an extra FYI, there’s no need to put both TL0 and TL1 in any settings as all members of TL1 are also TL0 (think of TL0 as ‘all registered users’). Adding only TL0 would suffice. :+1:

2 Likes

Checking out your recomended link. Thanks.

1 Like

Hello @JammyDodger , Thanks for the link you posted, I thought it could help me. I already checked the link and I think my settings are fine, the recommendation in that post make sense to me, and my settings are as recomended and I enabled for test the Also allow other tags in Category settings but unfortunately it did not solve my problem.

I wonder if I need to restart “something” when permissions settings change.

First, let me excuse for sharing this image with all the text blocked, I hope you can understand.

Those are the TAG name, the tag gruops name and categories where it’s supposed to be used but I can not use with my regular user. I would like to know if it is normal to have a padlock icon close to each category name.

Thank you guys for all of your help and ideas.

It’s normal when the category is not visible to everyone.
For example, this is one of my tags. You can see that there is a lock next to “Test”


And these are the security settings of that category:

“Everyone” has no “see” permission, that’s why the lock icon is shown next to the category badge. It indicates that this category is not public.

Might this have something to do with the problem I described?

In so much as that if the user can’t access the category then they won’t be able to select it when creating a topic (and if they can’t choose it when creating a topic then your ‘allowed tag’ structure also won’t kick in). Is the user a part of a group who can access those categories?

I think if you’ve not landed on what the conflict is yet you may need to start removing some of the tag restrictions and see if you can narrow down exactly where the permission conflict is happening.

Do you have the Data Explorer plugin installed? I created a query that shows me all the limitations for a tag. Maybe that helps you too. You could perhaps even share the results and replace tag group names, tag names, and category names with other words in the output. Then it’s a little easier to help you than comparing black boxes.