I want to add private tags to some posts via the API without notifying the users in any way. Adding tags works already, but it adds the pencil icon to the post and notifies the user that the topic has been edited.
It looks like there is a way to hide the pencil manually, but the user still receives a notification that the topic/post was edited, even if the revision is “hidden”.
Is there a way to update a topic (tags, category, etc.) both without showing a pencil icon and without notifying the user? (preferably with the API, but even manually)
The only thing that I’ve found so far is to go into the Rails console to do it:
ssh servername
cd /var/discourse
./launcher enter app
rails c
# then a bunch of rails stuff to find the
# tag ID, topic ID and push the tag into
# the topic and manually save the topic
If there isn’t a way to do it, I’ll just write a Ruby script that I can paste in the Rails console for now.
Bug Report
It also looks like there is a bug with the pencil icon. When I add a private tag to a topic (a tag that only admins can see), it adds the pencil icon to the first post, but when the test user (TL1) clicks on the orange pencil, it shows this message: