-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#408 if condition around $pathQualifier #410
Conversation
@briantist please review. Removed the old PR as I messed up a few things accidentally and couldn't squash the ~10 commits. Should all be fixed now. Hoping for successful builds 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me, the only thing I'd like to see is an addition for UNC paths. If those were in the tests the issue would have been caught on the original change. Adding them now will prevent regressions.
The tests can be found in tests/integration/targets/win_acl_inheritance
and they are written in Ansible.
Would you be up for trying to add a test there?
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you able to add a changelog fragment as documented under https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment to document this bugfix please.
Sure. May be a little until I can get to it though. |
Just an FYI you can probably just change one of the existing tests so the path is |
This pull request is stale because it has been open for 4 weeks with no activity. Remove stale label or comment or this will be closed in 2 weeks. |
Will look at adding the tests in the future, for now it will be good to have this change in place. |
SUMMARY
If statement around $pathQualifier
:
in case thepath
parameter is a UNC pathFixes #408
ISSUE TYPE
COMPONENT NAME
win_acl_inheritance
ADDITIONAL INFORMATION
Before
After
In testing, this completes successfully and the module runs as expected.