def METHOD_NAME():
    """Wiki edition permission.
    :return: true if the logged user has the editor role
    """
    @login_required
    @roles_required('editor')
    def foo():
        return True
    return foo()