Project

General

Profile

Actions

Bug #31602

open

Unable to view config reports for some hosts when an admin user has assigned any role with limit filter

Added by Hao Yu about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

  • Cloned from bugzilla 1914713 ***

Description of problem:
If an admin user have multiple roles that are assigned through one or more usergroups (mapped with LDAP groups) and any of the assigned roles has limit filter, then the admin user is unable to see the config reports of some hosts not matching the limit filter.

Steps to Reproduce:
1. Create a role, e.g. "my_role".
2. Create a filter for "my_role" and add "view_hosts" permission to it.
3. Limit the filter to "name != host1.example.com"
4. Create a usergroup, e.g. "my_usergroup"
5. Assign an admin user to "my_usergroup" and assign "my_role" to my_usergroup
6. Login as the admin user
7. Go to the Web UI -> Monitor -> Config Management -> Filter "host = host1.example.com"

Actual results:
host1.example.com is not found

Expected results:
host1.example.com should be shown regardless of the limit filter because the user is an admin user.

Actions #1

Updated by Dominik Matoulek about 3 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF