# Group Membership base on accepting a Discourse Policy

**URL:** https://meta.discourse.org/t/group-membership-base-on-accepting-a-discourse-policy/205594
**Category:** Extras
**Created:** [October 9, 2021, 2:58am UTC](https://meta.discourse.org/t/group-membership-base-on-accepting-a-discourse-policy/205594 "2021-10-09T02:58:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [October 9, 2021, 2:58am UTC](https://meta.discourse.org/t/group-membership-base-on-accepting-a-discourse-policy/205594/1 "2021-10-09T02:58:35Z")

</div>

Copying posts from [Discourse Policy](https://meta.discourse.org/t/discourse-policy/88557) before they age off…

> [@Discourse Policy](https://meta.discourse.org/t/discourse-policy/88557/60):
>
> Is it possible to reveal a link or other content to members once they accept the policy?
> 
> For example, we wanted to record a discussion but needed users to accept the terms first. In this case only users who have accepted the policy would see the link to the discussion.

We paid for development of this plugin that you’re welcome to use. It maintains membership in a group based on whether they have accepted a policy. Then you can restrict your special category to just that group.

In your case source\_group might be trust\_level\_0 or everyone.

> [@Plugin to maintain group membership based on accepting a Policy](https://meta.discourse.org/t/plugin-to-maintain-group-membership-based-on-accepting-a-policy/139257):
>
> What would you like done? Need a plugin to do an odd mash-up. If a user has accepted a certain [Discourse Policy](https://meta.discourse.org/t/discourse-policy/88557) and is a member of group A, then make them a member of group B, else remove them from group B. Would be nice to make them a member of group B as soon as they accept the policy, but if we need to wait a bit for sidekiq, that may be acceptable. Reference the policy\_users table. The post\_policy\_id and group names can be hard-coded. I can edit later if needed. And just in case I ever n…

[https://github.com/communiteq/discourse-policy-groupadd](https://github.com/communiteq/discourse-policy-groupadd)
