From now on, forced users will be suspended until they choose a role (users with "Edit user groups" permission will be excluded).
- Fix hidden groups were not choosable through the extension.
- Fix
GroupsChanged
event was not firing. Now you can see users actions through logger extensions (like the "Audit Log"). - Add compatibility for
flarum/suspend
so suspended users will be excluded from this extension's functions.
Other changes involves changing of control mechanisms, code standardization, small improvements on styling etc.
- Fix nested
m.redraw.sync()
call error. (issue #10) - Fix existing users can't choose a role even when they forced to. (issue #11)
- Fix restricted users can self-assign roles when users forced to have at least one role. (issue #12)
- Add customizable helper text for the sign-up modal (tip: use
.regRole--label { display: none !important; }
to hide it). (issue #1)
- Pull commits from @imorland's fork.
Testing for bugs, work-in-progress.
I practically rewritten the whole thing.
- Add force existing users to assign at least one role to themselves option.
- Fix settings modal won't open when there are no settings present in the database.
- Fix button colors for default Flarum themes.
- Fix OAuth releated issues.
- Fix users can't be edited from their profile pages.
First release.