Red Gate forums :: View topic - Bug: filtered Users still appear in Roles (SC v10.7.0.18)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Bug: filtered Users still appear in Roles (SC v10.7.0.18)

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Totu



Joined: 07 Apr 2014
Posts: 10

PostPosted: Tue Jun 17, 2014 11:53 am    Post subject: Bug: filtered Users still appear in Roles (SC v10.7.0.18) Reply with quote

Hi Guys,

I have been working on a solution to only deploy certain users and their permissions as part of a Continuous Delivery effort.

In my experiment I follow these steps:

1. Set up comparision of SVN codebase vs empty DB.
2. Set the filters to exclude everything
3. Set filters to only include certain users (example: @name like 'dev\%' ) and
4. Set filters to include all roles

Result: the users filtered out still appear under the roles and therefore the generated deployment script will fail due to the "missing" users.

I am also curious of what best practices or recommendations do you have for handling users when they are only supposed to be deployed to certain environments, but I think I will post that question in the RGDM forum.
A good example would be denying testers from prod access.

Cheers,
Balint
_________________
Bálint Bartha, Skyscanner
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6677

PostPosted: Thu Jun 19, 2014 2:45 pm    Post subject: Reply with quote

Usually this is a question of adding some options as well as excluding the users and roles objects - you can try adding the "Ignore User Properties and Role Memberships" and see if that helps. The users could be getting pulled in as part of a role.

Sorry I don't have a concrete answer - this always ends up being an environment-specific issue but when it comes to this very common user problem, it's usually related to a dependency that needs to be filled for a permission or difference in role membership.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group