Closed tgruenert closed 4 years ago
This used to be a problem, but should work fine right now. What Director version are you using?
gui show "master". it is deployd via docker from https://hub.docker.com/r/jordan/icinga2/ at 2018-08-11 hope this helps.
otherwise a hint how getting the commit id you locking for would be very welcome.
Hi, i have the same problem. (Director version 1.6.2)
Any help would be highly appreciated Christof
I had a similar problem . The code section from IcingaHostForm.php
if (! $restriction->allowsHost($this->object())) { throw new AuthenticationException($this->translate( 'Unable to store a host with the given properties because of insufficient permissions' )); }
throws an exception in this scenarion because:
A possible workarround might be to update function allowsHost from file HostgroupRestriction.php
public function allowsHost(IcingaHost $host) { if (! $this->isRestricted()) { return true; } if (! $host->hasBeenLoadedFromDb()) { $host->setGroups($host->listInheritedGroupNames()); if ($host->hasModifiedGroups()) { foreach ($this->listRestrictedHostgroups() as $group) { ...
This should now work, otherwise please let me know.
Hello,
I'm using director module v1.7.2 and I'm still encountering the same issue as @cbuehrer I can provide screenshots if that can be of any help.
As a reminder, steps to reproduce are:
Thanks
@Thomas-Gelf I'm using the same version as @ziirish and get the same result. Was the fix for this issue not included in the last version or is there something else causing this now? Don't know if it's worth replying here or if a new issue should be created?
Just to confirm that with the same director version and I am also encounter the same issue
Expected Behavior
Please use inherit information from templates also as a criteria in filters at role definition.
Current Behavior
Filter on hostgroup in a role work only if hostgroup is set directly inside host definition.
Steps to Reproduce (for bugs)
Context
Environment
icinga2 --version
Disabled features: debuglog elasticsearch gelf influxdb opentsdb perfdata statusdata syslog Enabled features: api checker command compatlog graphite ido-mysql livestatus mainlog notification