'post process arg to set uid on browse records'

@classmethod
def _postprocess_args(cls, arguments, rule):

    for (name, arg) in arguments.items():
        if (isinstance(arg, models.BaseModel) and (arg._uid is UID_PLACEHOLDER)):
            arguments[name] = arg.sudo(request.uid)
            if (not arg.exists()):
                return cls._handle_exception(werkzeug.exceptions.NotFound())
