-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write Node Value with AccessLevel CurrentRead #1302
Comments
Hi @JayDalton , It seems that your Write operation is rejected at
|
At this it kick's me out. Because there is no difference in AccessLevel handling between different users. So for now I do a tricky thing: Like in the "Quickstart Applications" Demo for "Boiler Server", when creating the information model, i keep the handles of my created variables in a separate Dictionary an write the values "under the hood" without library machanics. then I write to value by handle is this a good way to do? |
Hello @JayDalton , The I will make a fix for this. |
…d/WriteNonValueAttribute if handler exists.
Can you test if the fix from #1413 solves the problem? |
Type of Issue
[ ] Bug [ ] Enhancement [ ] Compliance [x] Question [x] Help wanted
Describe the Issue
Hello,
i am using this library in an C++/CLI environment for both, custom server and client application.
Referencing to a closed question from 2019 [#850] i am wondering why i could not write to a variable with UserAccessLevel =CurrentRead. Following the instructions, i can not get success.
To Reproduce
Steps to reproduce the behavior:
So i tried the example in "SampleApplications/Workshop/UserAuthentication" and set some Breakpoints.
I connected me [windows credentials] with an custom client successfully and try to write a new value. I hit the EventHandler "OnReadUserAccessLevel" and raise my AccessLevel. But for some reason, i never hit the EventHandler "OnWriteValue".
Expected behavior
I expected to hit the EventHandler "OnWriteValue" or something else the make my request happend. But it fails to write a new value with message: BadUserAccessDenied.
Is this the right approach for writing values with reduced AccessLevel?
Do I have more opportunities?
Environment (please complete the following information):
In C++/CLI I have
The big goal is to freely access the information model [read/write] from server side where as clients have reduced access defined by UserAccessLevel. Is it necessary to have an session on server side to access?
Thanks in advance!
The text was updated successfully, but these errors were encountered: