# Can I create a plugin that checks users and grant access to group based on activity?

**URL:** <https://meta.discourse.org/t/can-i-create-a-plugin-that-checks-users-and-grant-access-to-group-based-on-activity/68875>\
**Category:** Development\
**Created:** [Agosto 27, 2017, 1:43pm UTC](https://meta.discourse.org/t/can-i-create-a-plugin-that-checks-users-and-grant-access-to-group-based-on-activity/68875 "2017-08-27T13:43:38Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [Agosto 29, 2017, 7:37pm UTC](https://meta.discourse.org/t/can-i-create-a-plugin-that-checks-users-and-grant-access-to-group-based-on-activity/68875/11 "2017-08-29T19:37:05Z")

</div>

> [@xgdgsc](#):
>
> What do you use to run such thing on schedule?

I’ve not tried it myself, but this plugin by @david ties in to the Jobs module

> <https://github.com/discourse/discourse-whos-online/blob/main/plugin.rb#L96-L100>

---

_[View the full topic](https://meta.discourse.org/t/can-i-create-a-plugin-that-checks-users-and-grant-access-to-group-based-on-activity/68875)._
