dsccommunity / SqlServerDsc

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
MIT License
360 stars 227 forks source link

BREAKING CHANGE: SqlPermission: Refactor resource to have parameters `Permission`, `PermissionToInclude`, and `PermissionToExclude` #1773

Closed johlju closed 2 years ago

johlju commented 2 years ago

I suggest the entire resource SqlPermission should be refactored to remove Ensure parameter. It should instead have the parameters Permission, PermissionToInclude, and PermissionToExclude. The PR #1769 has done such refactor on SqlDatabasePermission. I think we need to do a similar refactor on this resource.

Originally posted by @johlju in https://github.com/dsccommunity/SqlServerDsc/issues/1761#issuecomment-1197828055