Page 1 of 1

CCM permissions bug when activating/deactivating host/svc

Posted: Mon Oct 08, 2018 8:23 am
by gzaloprgm
Hi
I've found an issue with the core config manager while editing with users that have limited access to the CCM. For instance, an user with this configuration can trigger the bug:
Image

Steps to reproduce:
Add or modify a host/service to have the limited user as a contact (or via a contactgroup). In my case, PRUEBA_ALTA_IMPORTADA. A couple of minutes later, it can be seen by the user.

Image

The issue comes while activating/deactivating the service using the limited user. Toggling the activation status using this link (marked in green) works fine, editing permissions still work:
Image

But unselecting this checkbox (marked in red) and saving the service breaks the permissions. After that, the service can't be configured by the user anymore.

Image

Image

Pressing twice on the activate/deactivate link seems to fix the issue.

Specs:
CentOS Linux release 7.5.1804 (Core)
Kernel 3.10.0-229.el7.x86_64
Manual installation - Nagios XI 5.5.4 latest (was upgraded manually from 5.2.9)

Thanks,
Gonzalo

Re: CCM permissions bug when activating/deactivating host/sv

Posted: Mon Oct 08, 2018 2:03 pm
by ssax
I am able to replicate this issue, I'll report it to the devs, thank you for reporting this.