Comparing role securables
aculver
Posts: 16
When I do a SQL Compare 6 the database roles and role memberships are compared and synchronized, but the role securables are not.
Am I missing a setting, or is SQL Compare 6 unable to do this?
Workarounds?
Many thanks -- Andrew
Am I missing a setting, or is SQL Compare 6 unable to do this?
Workarounds?
Many thanks -- Andrew
Comments
Could you give an example of a securable that isn't being synchronized, so I can look into this?
Redgate Software
For example, a new database role is created called partialdatawriter, and the dbo schema properties dialog has been used to grant select and update permission (for all objects in the dbo schema) for this role.
These permissions are not compared or synchronized.
Does this problem happen when you're using any schema other than 'dbo'?
SQL Compare currently ignores dbo as a system object, and unfortunately the way that permissions attach to objects means that it's also ignoring the role's permissions on dbo. It shouldn't be ignoring these permissions - I've put the problem in our bug tracking system (SC-3971) and hopefully we'll get it fixed shortly. Thank you very much for bringing this issue to our attention.
Redgate Software
My understanding of SQL Server 2005 is that 'dbo' should be treated in this instance just like any other schema and that these permissions should synchronize.
I look forward to early news on this matter.
Redgate Software
Redgate Software