From f25015c6dd8100651add94ed392ba36da3486961 Mon Sep 17 00:00:00 2001 From: Stefano Ottolenghi Date: Tue, 25 Oct 2022 14:26:50 +0200 Subject: [PATCH] Section default_access_mode in Session had ACCESS_READ/WRITE instead of READ/WRITE_ACCESS. #839 (#840) --- docs/source/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api.rst b/docs/source/api.rst index dc4ab71c1..9a1b4aed5 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -626,11 +626,11 @@ access mode passed to that session on construction. .. note:: The driver does not parse Cypher queries and cannot determine whether the - access mode should be ``neo4j.ACCESS_WRITE`` or ``neo4j.ACCESS_READ``. + access mode should be ``neo4j.WRITE_ACCESS`` or ``neo4j.READ_ACCESS``. This setting is only meant to enable the driver to perform correct routing, *not* for enforcing access control. This means that, depending on the server version and settings, the server or cluster might allow a write-statement to - be executed even when ``neo4j.ACCESS_READ`` is chosen. This behaviour should + be executed even when ``neo4j.READ_ACCESS`` is chosen. This behaviour should not be relied upon as it can change with the server. :Type: ``neo4j.WRITE_ACCESS``, ``neo4j.READ_ACCESS``