Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.13.3
Merged [Pull Request](https://github.com/MethodsAndPractices/vsteam/pull/539) from [Erik Sijnja](https://github.com/esijnja) the following:
- Send valid json body with Add-VSTeamAccessControlEntity [538](https://github.com/MethodsAndPractices/vsteam/issues/538)

## 7.13.2
Merged [Pull Request](https://github.com/MethodsAndPractices/vsteam/pull/536) from [Sebastian Schütze](https://github.com/SebastianSchuetze) the following:
- Fix missing switch OverwriteMask to all cmdlets who are dependant to Add-VSTeamAccessControlList
Expand Down
3 changes: 2 additions & 1 deletion Source/Public/Add-VSTeamAccessControlEntry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function Add-VSTeamAccessControlEntry {
if ($SecurityNamespace) {
$SecurityNamespaceId = $SecurityNamespace.ID
}
$merge = !$OverwriteMask
[string]$merge = (!$OverwriteMask)
$merge = $merge.ToLowerInvariant()
$body =
@"
{
Expand Down
2 changes: 1 addition & 1 deletion Source/VSTeam.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'VSTeam.psm1'

# Version number of this module.
ModuleVersion = '7.13.2'
ModuleVersion = '7.13.3'

# Supported PSEditions
CompatiblePSEditions = @('Core', 'Desktop')
Expand Down
4 changes: 2 additions & 2 deletions Tests/function/tests/Add-VSTeamAccessControlEntry.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ Describe 'VSTeamAccessControlEntry' {
$Body -like "*`"descriptor`": `"abc`",*" -and
$Body -like "*`"allow`": 12,*" -and
$Body -like "*`"deny`": 15,*" -and
$Body -like "*`"merge`": false,*" -and
$Body -cmatch "`"merge`": false," -and
$Method -eq "Post"
}

}

}
}