julianlam / nodebb-plugin-session-sharing

Allows login sessions from your app to persist in NodeBB
MIT License
88 stars 65 forks source link

Auto Join/Leave based on Group #60

Closed uplift closed 5 years ago

uplift commented 5 years ago

We have two types of groups on our forum.

Group Type A - Forum specific groups where people are added and leave via Admins using the Admin Tool. Group Type B - These are groups used by the Website as well as the forum and are in the session cookie claims.

Currently to auto join/leave it has to be enabled for all groups. In that case users will always leave Group Type A that they are in as it isn't in the Cookie claims.

Whats the best way to make selective groups auto join/leave? Is there a way to do it currently or will it require an enhancement? Maybe a selectable list in the plugin admin page?

julianlam commented 5 years ago

A selectable list would be an appropriate enhancement, I'll take a look at doing that today, time permitting.