Closed 0xliam closed 1 year ago
Thank you for your pull request. Before we can look at it, you'll need to sign a Contributor License Agreement (CLA).
Please follow instructions at https://icinga.com/company/contributor-agreement to sign the CLA.
After that, please reply here with a comment and we'll verify.
Contributors that have not signed yet: @0xliam
Signed CLA
@cla-bot check
Hi @0xliam, thanks for your submission! I fixed it in a slightly different place, where the method call context (directly after the related query) makes it more obvious, why that specific alias fits here.
Resolves #2164
Happy to work with the Icinga team on this PR - please let me know if anything needs changing.
When a role restricts users to a particular host group, e.g:
The following error is returned when trying to edit any host group:
This PR updates the filterHostGroupsQuery default argument to 'h', as per the fix outlined suggested in #2164.
I've been using this in our production environment and it doesn't appear to have caused any adverse side effects.