def delete_user_permissions(self, user, perm, obj, check_groups=False):
        user_perms = self.user_permissions(user, perm, obj, check_groups=False)
        if not user_perms.filter(object_id=obj.id):
            return
        perms = self.user_permissions(user, perm, obj).filter(object_id=obj.id)
        perms.delete()
Get current settings
dataset/ETHPy150Open jazzband/django-authority/authority/managers.py/PermissionManager.delete_user_permissions--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_service.py/MacServiceModuleTest.setUp