@@ -12,9 +12,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212- Fixed Azure DevOps pipeline conditions that were preventing DSC resource
1313 integration tests from running when they should by removing incorrect quotes
1414 around boolean values.
15+ - Refactored error handling by removing global ` $ErrorActionPreference = 'Stop' `
16+ from 64 PowerShell files and implementing targeted error control for specific
17+ command calls that use ` -ErrorAction 'Stop' ` .
1518- ` SqlAgentAlert `
1619 - Minor fix in ` source/Classes/020.SqlAgentAlert.ps1 ` to correct ` ExcludeDscProperties `
1720 formatting (added missing delimiter).
21+ - ` SqlRSSetup `
22+ - Re-added ` ReportServerEdition ` enum and updated class to use enum instead of
23+ ValidateSet for the Edition property.
24+ - Fixed commands continuing execution after ` Assert-ElevatedUser ` elevation
25+ errors by setting ` $ErrorActionPreference = 'Stop' ` [ issue #2070 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/2070 )
1826
1927### Added
2028
@@ -27,6 +35,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2735 - Enhanced workflow with proper environment variable configuration and DSCv3 verification.
2836 - Fixed environment variable persistence by using $GITHUB_ENV instead of
2937 job-level env declaration.
38+ - ` Grant-SqlDscServerPermission `
39+ - Added new public command to grant server permissions to a principal (Login or ServerRole) on a SQL Server Database Engine instance.
40+ - ` Deny-SqlDscServerPermission `
41+ - Added new public command to deny server permissions to a principal (Login or ServerRole).
42+ - ` Revoke-SqlDscServerPermission `
43+ - Added new public command to revoke server permissions from a principal (Login or ServerRole).
44+ - ` Test-SqlDscServerPermission `
45+ - Added new public command with Grant/Deny parameter sets (and ` -WithGrant ` ) to test server permissions for a principal.
3046- ` Assert-SqlDscLogin `
3147 - Added new public command to validate that a specified SQL Server principal
3248 is a login.
0 commit comments