ioBroker/ioBroker.simple-api

Permission problem: can read but not write state

Closed this issue · 1 comments

Describe the bug
I have created a user and a group for api access and set ownership of a state accordingly.
Now I can read the state but not set it.

To Reproduce
Steps to reproduce the behavior:

  1. Create api user and group
  2. Set state owner to user and group
  3. Enable "only allow, if the user is owner" in simple-api instance settings
  4. Try to read state - works
  5. Try to set state - permission denied

Disabling "only allow, if the user is owner" will resolve the issue but allow reading all the other states.

Versions:

  • Adapter version: 2.7.2
  • JS-Controller version: 5.0.19

The problem disappeared after restarting the adapter. Sorry for the issue