You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
SQL Server supports both logins and user-defined server roles being members of a server role. The SqlServerRole resource should be enhanced to add this support. Currently, the resource checks whether all Members, MembersToInclude, or MembersToExclude are valid Logins on the system.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Instead of solely checking for a valid Login, the resource should also validate whether it matches a Role defined in the instance.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
… checks (#1453)
- SqlServerRole
- Add support for nested role membership (issue #1452).
- Removed use of case-sensitive Contains() function when evalutating role membership
(issue #1153).
- Refactored mocks and unit tests to increase performance (issue #979).
Details of the scenario you tried and the problem that is occurring
SQL Server supports both logins and user-defined server roles being members of a server role. The SqlServerRole resource should be enhanced to add this support. Currently, the resource checks whether all Members, MembersToInclude, or MembersToExclude are valid Logins on the system.
Verbose logs showing the problem
N/A
Suggested solution to the issue
Instead of solely checking for a valid Login, the resource should also validate whether it matches a Role defined in the instance.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
SQL Server edition and version the target node is running
SQL 2012+
SQL Server PowerShell modules present on the target node
SQLPS
SqlServer
SqlServerDsc
The operating system the target node is running
N/A
Version and build of PowerShell the target node is running
N/A
Version of the DSC module that was used ('dev' if using current dev branch)
dev
The text was updated successfully, but these errors were encountered: