julianlam/nodebb-plugin-session-sharing

Fix `syncGroups` footgun

Opened this issue · 0 comments

If no groups are selected in syncGroups, then all groups are applied. This causes unexpected behaviour when syncGroupList is enabled, as admins are very likely to accidentally shut themselves out of the ACP.

Needs upgrade script to automatically select all values if current value is nullish