Group support
-
Allow adding users to groups -
Allow creation of groups -
Allow editing group name and setting whether the group requires 2FA -
Disallow setting a group to require 2FA if any single member of the group doesn't have 2FA enabled -
Allow assigning roles to groups -
Disallow assigning roles to groups if the group doesn't require 2FA -
Change has_role?
logic to check group roles as well as user roles
This is pretty much done, but I'd like to test it a bit more before merging. Opening the PR now anyway.