Closed matthenning closed 5 years ago
I can create a read only user with permission to see the host action "Elasticsearch Events"
Even though I assign every permission except "Allow everything (*)" I cannot see the host action.
The HostAction hook checks for elasticsearch/events permission but the permission is not configurable: https://github.com/Icinga/icingaweb2-module-elasticsearch/blob/aaa383a20ec4dd54692717543890651663f6fcc5/library/Elasticsearch/ProvidedHook/Monitoring/HostActions.php#L17
Expected Behavior
I can create a read only user with permission to see the host action "Elasticsearch Events"
Current Behavior
Even though I assign every permission except "Allow everything (*)" I cannot see the host action.
Possible Solution
The HostAction hook checks for elasticsearch/events permission but the permission is not configurable: https://github.com/Icinga/icingaweb2-module-elasticsearch/blob/aaa383a20ec4dd54692717543890651663f6fcc5/library/Elasticsearch/ProvidedHook/Monitoring/HostActions.php#L17
Steps to Reproduce (for bugs)
Your Environment