Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where users are not added to system roles #9

Open
Alex-Yates opened this issue Mar 2, 2020 · 5 comments
Open

Fix bug where users are not added to system roles #9

Alex-Yates opened this issue Mar 2, 2020 · 5 comments

Comments

@Alex-Yates
Copy link
Owner

No description provided.

@paschott
Copy link

paschott commented Mar 2, 2020

Are we talking system roles like db_datareader or server-level roles like sysadmin? I'll admit that I hadn't considered server-level roles to be in scope for a database project except maybe cases where this is with the master database.

@Alex-Yates
Copy link
Owner Author

Yep, that's right.

Why wouldn't you want to control which users have sa and which users don't?

@Alex-Yates
Copy link
Owner Author

(One of the first things my customer queried me on when I showed this to them the other day.)

@paschott
Copy link

paschott commented Mar 2, 2020

I just never controlled that at the database project level. That was a "server-level" project type thing. Not saying it's a bad idea, but most of the time I used this was to set permissions to use within a given database, not server-level roles. Maybe another option? :)

Just thinking that if I'm setting permissions for a given DB project, I probably don't want to control server-level roles within that project. That could lead to some confusion as well if one project has the roles set up for LoginA as sysadmin and another one has LoginA as "not sysadmin".

@Alex-Yates
Copy link
Owner Author

Ah yes, my bad. I meant database level system stuff. (db_datareader etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants