A bug was reported where tag watching does not work for non-staff users when a tag is part of a Tag Group, as the tag disappears from the /my/preferences/tags page and the watching preference isn’t applied. nathank identified the issue, noting it persists regardless of permissions. tomitomas confirmed the problem and asked for updates. blake pointed to a fix in Discourse 2.8.0, referencing a commit that resolved the issue by ensuring watched tags are correctly returned in the user serializer response. nathank confirmed the fix works, though noted a limitation: tags in Tag Groups visible only to specific groups no longer appear in the watched list for users who can’t see them, which affects a previous use case but is likely intentional.
When I include a tag in a tag group, it disappears from the /my/preferences/tags page for non-staff users. In addition, the watching preference is not applied despite it looking fine in the database.
This is regardless of what is chosen in the permissions settings for the Tag Group:
If I delete the Tag Group, the tag watching starts working normally for those tags.
Not as yet - that is up to the Discourse team. I’m sure that they will let us know when they’ve had chance to address it. It is the holiday period!!
But if you need your Tag watching to work for now, just remove those tags from any Tag groups they are in (or delete the Tag groups) if you can live without the Tag group functionality.
Tags in tag groups that have permissions set to everyone were not able
to be saved correctly. A user on their preferences page would mark the
tags that they wanted to save, but the watched_tags in the response
would be empty. This did not apply to admins, just regular users. Even
though the watched tags were being saved in the db, the user serializer
response was filtering them out. When a user refreshed their preferences
pages it would show zero watched tags.
I did notice something that isn’t great for my use-case, but is probably intended:
When I make the Tag Group visible to only a specific group, the tag does not appear in the watched list of those who can’t see it (nor does it apply). I used to use the tags to ‘bump’ the topics up to a higher watching state without regular users being able to see it. I can’t do that any more but that is fine.