ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

[permission handling] Normal user generates warnings when opening adapters or logs tab

Open klein0r opened this issue 3 years ago • 2 comments

Describe the bug

As a normal user (group system.group.user) I cannot add new adapters. When opening adapters tab, the list is empty (which is ok). But it generates log messages like

admin.0 No permission for "system.user.tester" to call sendToHost. Need "other"."sendto"

Expected:

Admin should know that the permission is missing and shouldn't send the request.

To Reproduce

  1. Login as normal user of group system.group.user
  2. Click on tab adapters
  3. See log

Versions:

  • Adapter version: 6.2.22

klein0r avatar Oct 05 '22 08:10 klein0r

Same for tab logs:

No permission for "system.user.tester" to call readLogs. Need "other"."execute"

klein0r avatar Oct 05 '22 08:10 klein0r

Same for tab hosts:

No permission for "system.user.tester" to call sendToHost. Need "other"."sendto"

klein0r avatar Oct 05 '22 08:10 klein0r