Possibility to lock a topic to a specific user only + staff members

I do have one more (on-topic) question though. If I want to turn the private message into a normal topic, I know I just use the wrench icon and choose “Make public topic”. This makes a topic in the “Uncategorized” category, which everyone can see. I can quickly edit it to assign it to a categoyr that is locked to “staff” level.

I’d like to avoid it being visible by non-staff at any one stage. My solution is to first “make unlisted” then to “make public topic”, then edit first post and assign privileged category, then “make listed”.

Is there a more direct way to do it via GUI?

Also, given the former user does not have “staff” privileges, I assume that they won’t be able to access the topic any more, but that none of the posts in the topic are lost/altered, right?

Via rails I guess I could do the following, which seems to work fine:

t = Topic.where(id:44)[0];
t.category_id = Category.where(name:'Staff')[0].id;
t.archetype = 'regular';
t.save!
1 Like