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

Add option to Merge or Overwrite Bits in Add-VSTeamAccessControlEntry #515

Merged
merged 7 commits into from
May 20, 2023
Merged

Add option to Merge or Overwrite Bits in Add-VSTeamAccessControlEntry #515

merged 7 commits into from
May 20, 2023

Conversation

mrwalters1988
Copy link
Contributor

@mrwalters1988 mrwalters1988 commented Mar 17, 2023

PR Summary

This enables the option mentioned in the inline comments of Add-VSTeamAccessControlEntry to choose whether to merge the Bits or to Overwrite the bits.

PR Checklist

Adding option to override the mask rather than always merging values.
Documenting new parameter.
Changing override to overwrite.
@mrwalters1988
Copy link
Contributor Author

I didn't see any changes that needed to be made in the tests, and changelog looks like it's only updated when several PRs are approved and merged in, so I did not update that either. Can do so if needed.

@mrwalters1988
Copy link
Contributor Author

Any update on this?

Copy link
Collaborator

@SebastianSchuetze SebastianSchuetze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new unit test is needed that tests your switch parameter. You need to test that the sent body includes the value set when overwriting. When you added the test and all is green. I will merge it. :-)

@SebastianSchuetze SebastianSchuetze changed the title Feature/ace merge feat: added parameter for Add-VSTeamAccessControlEntry to choose whether to merge the Bits or to Overwrite the bits May 19, 2023
@SebastianSchuetze SebastianSchuetze changed the title feat: added parameter for Add-VSTeamAccessControlEntry to choose whether to merge the Bits or to Overwrite the bits Add option to Merge or Overwrite Bits in Add-VSTeamAccessControlEntry May 20, 2023
@SebastianSchuetze SebastianSchuetze merged commit a465383 into MethodsAndPractices:trunk May 20, 2023
@mrwalters1988 mrwalters1988 deleted the feature/ACEMerge branch May 22, 2023 13:28
@mrwalters1988
Copy link
Contributor Author

Thanks @SebastianSchuetze I had set aside time next week to add the unit test, but I appreciate you adding it for me. Happy to have contributed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants