def _load_group_permissions(self):
group_names = self._get_groups().get_group_names()<EOL>perms = Permission.objects.filter(group__name__in=group_names)<EOL>perms = perms.values_list('<STR_LIT>', '<STR_LIT>')<EOL>perms = perms.order_by()<EOL>self._group_permissions = set(["<STR_LIT>" % (ct, name) for ct, name in perms])<EOL>
Populates self._group_permissions based on LDAP group membership and
Django group permissions.