xia_editor_flask.editor.auth_required

xia_editor_flask.editor.auth_required(public_resource: list)

Authorization Check

The requested data should have been generated by the url_value_preprocessor

Parameters

public_resource (list) – list of public resources for which authorization check should be passed

Notes

public_resource is None: No control should be applied public_resource is []: No public resource defined