This is an automated email from the ASF dual-hosted git repository.

justinchen pushed a commit to branch new_opc_server
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/new_opc_server by this push:
     new b91f8df140d var
b91f8df140d is described below

commit b91f8df140d387a40500acce061d10e5a6df1d1b
Author: Caideyipi <[email protected]>
AuthorDate: Thu Dec 4 14:52:38 2025 +0800

    var
---
 .../org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
index 7c4ff906da8..14ead70362f 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
@@ -515,8 +515,8 @@ public class OpcUaNameSpace extends 
ManagedNamespaceWithLifecycle {
           measurementNode =
               new UaVariableNode.UaVariableNodeBuilder(getNodeContext())
                   .setNodeId(nodeId.get())
-                  .setAccessLevel(AccessLevel.READ_WRITE)
-                  .setUserAccessLevel(AccessLevel.READ_WRITE)
+                  .setAccessLevel(variableAttributes.getAccessLevel())
+                  .setUserAccessLevel(variableAttributes.getUserAccessLevel())
                   .setBrowseName(item.getBrowseName())
                   .setDisplayName(variableAttributes.getDisplayName())
                   .setDataType(variableAttributes.getDataType())

Reply via email to