ioBroker / ioBroker.simple-api

HTTP-API Interface to read and write objets and states
MIT License
40 stars 19 forks source link

Permission problem: can read but not write state #189

Closed Niksac closed 7 months ago

Niksac commented 7 months ago

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:

Niksac commented 7 months ago

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