icingaweb2-module-businessprocess
icingaweb2-module-businessprocess copied to clipboard
IcingaDB - Services in BPs are not shown anymore for filtered roles (missing nodes)
Describe the bug
Hi all, I have two different views between the monitoring and the icingadbweb module right now. Monitoring: When a role has access to a BP, the user can see the whole BP, no matter if the user has access to the several service details or not. When they don't have access to the service details, they get a permission denied info. But they can see the whole status of the BP itself
IcingaDB: The services, which are locked for the role disappear in the business process, too. The user gets the red bar with "X nodes are missing". So the BP is not usable anymore. I have to unlock every service for the roles, what was not necessary in the monitoring module.
To Reproduce
- Create a BP
- Filter a service for a specific role
- The service is visible in the BP for the filtered role when using the monitoring module, service details are locked with "no permission"
- The service is not visible in the BP for the filtered role, when using the Icingadbweb module, user gets "nodes missing"
Expected behavior
Same view in both monitoring and icingadbweb modules
Screenshots
Your Environment
Ubuntu 20.04.4 lts Icinga Web 2 Version 2.11.1 PHP Version 7.4.3 icinga/icinga-php-thirdparty 0.11.0 icinga/icinga-php-library 0.9.1 businessprocess 2.4.0 Configure
Additional context
Module is currently not usable with IcingaDB :(