Skip to content
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

Change default path handling for existing AD objs #59

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

jborean93
Copy link
Collaborator

SUMMARY

Changes the behaviour of path for existing objects when no path was specified and identity points to a valid object. The old behaviour was to treat no path value as the default container for that object type which would have resulted in moving the object. The new behaviour will treat no path or empty path value as keep the existing path. The object will only be moved if an explicit path value was set.

Adds support for the sentinel value microsoft.ad.default_path to be specified as the path which will be the default container for that object type.

Fixes: #43
Fixes: #44
Fixes: #52
Fixes: #53

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

microsoft.ad._ADObject

Changes the behaviour of path for existing objects when no path was
specified and identity points to a valid object. The old behaviour was
to treat no path value as the default container for that object type
which would have resulted in moving the object. The new behaviour will
treat no path or empty path value as keep the existing path. The object
will only be moved if an explicit path value was set.

Adds support for the sentinel value microsoft.ad.default_path to be
specified as the path which will be the default container for that
object type.
@softwarefactory-project-zuul
Copy link

@jborean93 jborean93 merged commit eadd6b7 into ansible-collections:main Aug 7, 2023
@jborean93 jborean93 deleted the path-handling branch August 7, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant