-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.0.24
-
Component/s: Frontend (F)
-
None
-
Support backlog
When viewing web scenarios filtered by host group only (without selecting a specific host), selecting multiple web scenarios and clicking Enable/Disable results in the error:
No permissions to referred object or it does not exist!
Steps to reproduce:
- Create a host group with at least 2 hosts, each having one or more web scenarios
- Go to Data collection > Hosts > and select a group with web scenarios
- Click Web on one of them
Change view by host, from
To group:
- Leave Hosts field empty.
- Click Apply - web scenarios from both hosts are listed.
- Select multiple web scenarios using checkboxes.
- Click Disable or Enable at the bottom of the page.
Expected:
Selected web scenarios are disabled or enabled.
Root cause:
Permission check in httpconf.php for bulk actions
elseif (hasRequest('hostid') && !isWritableHostTemplates([getRequest('hostid')])) { access_deny(); }