discourse-on-ghost
discourse-on-ghost copied to clipboard
[feature] Sync groups with labels instead of plans?
The problem I'm trying to solve
First of all, thank you for this software! It's great, and it fills an important need in the Ghost ecosystem.
I'm currently running a Ghost-powered newsletter (let's call it A
), and I'm planning to launch a second one soon (let's call it B
). My plan is to host both of their communities in the same Discourse instance. As far as I understand, DoG can only authenticate Discourse members against one Ghost instance. I'm assuming building support in DoG for multiple Ghost instances would be a lot of work.
A workaround would be for me to host a third Ghost instance (let's call it C
) that I would solely use as the source of trust for Discourse. I would use Zapier to sync members and their status. Members would get labels in C
based on their membership access in A
and B
, and would use C
to log in Discourse.
Feature request
I'm wondering how easy it would be for DoG to use labels instead of (or in addition to?) membership tiers to sync members with groups in Discourse? If a member has the label A_paid
, it would be added to the group A_paid
in Discourse.
Switching from membership tiers to labels could be an option to set in the configuration file, with the default value being the current behavior (membership tiers).
Alternatives
For what I understand, with a bit of extra code it seems possible to sync groups with user roles in WordPress. In this scenario, C
is a WordPress instance with the Discourse plugin to offer SSO between WordPress and Discourse.
Additional context
If something isn't clear, of if you need more details/explanations, do not hesitate. And once again, thank you for this software!