def METHOD_NAME(self):
    if self.is_admin():
        permissions = Permission.objects.all()
    else:
        permissions = self.permissions.all()
    permissions = Permission.clean_permissions(permissions, self.scope)
    return permissions