# Anonymous User Groups

**URL:** <https://meta.discourse.org/t/anonymous-user-groups/141466>\
**Category:** Product Support\
**Created:** [February 13, 2020, 5:22am UTC](https://meta.discourse.org/t/anonymous-user-groups/141466 "2020-02-13T05:22:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![arivanandan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arivanandan/32/160108_2.png) [@arivanandan](https://meta.discourse.org/u/arivanandan)\
**Post date:** [February 13, 2020, 5:22am UTC](https://meta.discourse.org/t/anonymous-user-groups/141466/1 "2020-02-13T05:22:18Z")

</div>

My forum is going to have a lot of private topics locked under categories with groups. It’s a classroom setting, so anonymous posting is pretty important. The problem is groups don’t port over when a user switches to anonymous (as can be expected).

I’ve never written a plugin before but it seems this can best be done with a plugin. When a user turns anonymous, an account is created, I assign all their current groups to the anon. Will this work? I use the API to assign and remove groups. Can I have a trigger to also apply these changes to the anonymous user?

Are there any other implications that I am not seeing?

---

_[View the full topic](https://meta.discourse.org/t/anonymous-user-groups/141466)._
