I am sure my best approach is discoverable here and I am researching accordingly but as a relatively new user of Discourse (just installed on my own VPS a few days ago), I am hoping someone can point me in the right direction for the following scenario.
I have a WordPress-based membership (WooCommerce, WooCommerce Subscriptions, WP Fusion, etc, etc). I also sell products. At a high level, my customers are either a) regular customers who chose to create an optional account when they placed their order or b) members, who signed up for my membership. A contact can also be both (customer and member).
My subscribers have a WordPress role of Subscriber. My Discourse forums are on a subdomain and I have the WordPress SSO working fine. But it’s the approval I am unclear about.
As much a possible, I want to manage access to the forum automatically, namely when someone signs up for my membership they can access my forum without any need for me to approve them. Importantly, if they are just a regular customer (no membership) I do NOT want them to be approved - this should only happen for subscribers.
Also, when someone cancels their membership I want their access to the forum to be automatically revoked.
Is all this feasible and, if so, what are the key principles I should research and test?
PS: I’m thinking webhooks, but perhaps I don’t need to go down that path,