REV: Implemented bulk assign perm for users.
FIX: Fixed group deprecated assign function.
REV: Implemented bulk assign perm for groups.