def perm_above(accessing_obj, accessed_obj, *args, **kwargs):
 kwargs['_greater_than'] = True
 return perm(accessing_obj, accessed_obj, *args, **kwargs)

def perm_above ( accessing_obj , accessed_obj , * args , ** kwargs ) : kwargs [ '_greater_than' ] = True return perm ( accessing_obj , accessed_obj , * args , ** kwargs )
only allow objects with a permission *higher* in the permission hierarchy than the one given .