Set-SqlObjectPermission problem

Developer
Jul 2, 2012 at 7:49 AM

in the sqlserver module

definition of function Set-SqlObjectPermission

with on line

"Write-Verbose "Set-SqlObjectPermission $($smo.Name) $permission $name $action""

when i mark it as a comment, starting with #

 

this function would be fine...

Developer
Jul 2, 2012 at 10:24 AM

BTW!!!!

 

($_.Parent.Roles | where {$_.name -eq $name})) 

SHOULD BE

($smo.Parent.Roles | where {$_.name -eq $name}))

Coordinator
Jul 2, 2012 at 10:09 PM

Thanks for reporting the issue. I'll move to this to a work item for our next release.

Coordinator
Jul 2, 2012 at 10:09 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jul 2, 2012 at 10:10 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.