# Help with new rules addon for groups; Collect Ideas how to do

**URL:** <https://discourse.getcockpit.com/t/help-with-new-rules-addon-for-groups-collect-ideas-how-to-do/1995>\
**Category:** Addons\
**Created:** [July 6, 2021, 9:30pm UTC](https://discourse.getcockpit.com/t/help-with-new-rules-addon-for-groups-collect-ideas-how-to-do/1995 "2021-07-06T21:30:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Hackbard](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/hackbard/32/854_2.png) [@Hackbard](https://discourse.getcockpit.com/u/Hackbard)\
**Post date:** [July 6, 2021, 10:12pm UTC](https://discourse.getcockpit.com/t/help-with-new-rules-addon-for-groups-collect-ideas-how-to-do/1995/2 "2021-07-06T22:12:31Z")

</div>

Some idea i got now, is to use the trigger `collections.save.before` and save the current user group if not present. After that i should be able to check that in the custom rule files or not?

---

_[View the full topic](https://discourse.getcockpit.com/t/help-with-new-rules-addon-for-groups-collect-ideas-how-to-do/1995)._
