SqlPermission can not grant permissions to a SqlRole #2057
Labels
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
Problem description
If you create a SQL Server Role with SqlRole, you can not grant permissions to this role with SqlPermission.
Verbose logs
DSC configuration
-
Suggested solution
Change implementation to not just check for a login with Test-SqlDscIsLogin, but also for a role.
SQL Server edition and version
SQL Server PowerShell modules
Operating system
PowerShell version
SqlServerDsc version
The text was updated successfully, but these errors were encountered: