Server : different access level for different client #832
-
Hello all, I have a little server running, giving access to a few variables. Two different clients may connect to the server at the same time : what I would like to do is giving one client the access to read and write every variable, and the other could only read. First I thought about doing that by "creating" two different users, but as far as I understood this is not implemented yet (?). If so, is there any other way I could achieve this goal? Looking at the doc, I see that there is some kind of user management in the internal server class (which is a concept I still not fully understand) , but there is not so much description, nor example, and I'll admit I'm a bit lost. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
yes Rolepermissions are not implemented just basic admin/user but it should do what you like to have. pass it to: opcua-asyncio/asyncua/server/server.py Line 81 in 04a85e2 |
Beta Was this translation helpful? Give feedback.
yes Rolepermissions are not implemented just basic admin/user but it should do what you like to have.
you need to implement a usermanager like in
opcua-asyncio/asyncua/server/user_managers.py
Line 11 in 04a85e2
pass it to:
opcua-asyncio/asyncua/server/server.py
Line 81 in 04a85e2