Copying posts from
Discourse Policy before they age off…
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.
What would you like done?
Need a plugin to do an odd mash-up. If a user has accepted a certain
Discourse Policy 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…