@classmethod<EOL><INDENT>def assign_role_to_user(cls, user):<DEDENT>
group, _created = Group.objects.get_or_create(name=cls.get_name())<EOL>user.groups.add(group)<EOL>permissions_to_add = cls.get_default_true_permissions()<EOL>user.user_permissions.add(*permissions_to_add)<EOL>return group<EOL>
Assign this role to a user.

:returns: :py:class:`django.contrib.auth.models.Group` The group for the
    new role.