it-novum / openITCOCKPIT

openITCOCKPIT is an Open Source system monitoring tool built for different monitoring engines like Nagios, Naemon and Prometheus.
https://openitcockpit.io/
GNU General Public License v3.0
261 stars 49 forks source link

Status Pages - no groups displayed when root container selected #1653

Open kbilev opened 5 months ago

kbilev commented 5 months ago

Describe the bug If we select the /root Container when creating a new Status Page, only the Host and Service Groups under /root are displayed in the "Status page items" dropdowns.

To Reproduce Steps to reproduce the behavior:

  1. Create new Status Page
  2. Select /root Container
  3. Select Host and/or Service groups
  4. Find only groups under /root

Expected behavior Everywhere else, when selecting /root, all groups or hosts are displayed also those under /root/X or /root/A/B

Versions

Additional context Nice feature the status pages :)

ibering commented 4 months ago

Hi @kbilev

The /root container allows making the status pages visible to all users. Only /root elements are displayed because they are elements that can be seen by all users. For all elements located in sub-containers, the container rights of the users apply. A user from /root/Container A is not allowed to see configuration elements of the user from /root/Container B. Therefore, the select boxes are pre-filtered accordingly. When selecting the tenant container, all elements, even those in the sub-container, are resolved.

Best regards Irina