Author |
Topic |
X002548
Not Just a Number
15586 Posts |
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2006-12-19 : 11:51:21
|
in a roundabout way in 2005....why not write a trigger to rollback any inappropriate DDL...inappropraite from an authority point of view...(ie not in your "good" users list)?? |
 |
|
X002548
Not Just a Number
15586 Posts |
Posted - 2006-12-19 : 12:41:09
|
Yeah that's what I figured...never had to work that wayGive the developers a scratch pad dev boxRelease code to me to place in QA (after assisting them in writing the code...also all database changes are stored in ERWin, so if the get cute their code would explode in QA)Promote to Prod after sign offI wonder what this guy is doing..I better askBrett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-12-19 : 12:43:37
|
If you use DDLAdmin, the developers won't be able to create dbo objects. The only way for them to create dbo objects is for them to be members of the db_owner database role. We grant db_owner to all developers in the development environment only. They have read access (and sometimes write access) everywhere else.Tara Kizer |
 |
|
X002548
Not Just a Number
15586 Posts |
|
X002548
Not Just a Number
15586 Posts |
Posted - 2006-12-20 : 16:28:00
|
OK, what the hell is this? I tried it and it creates the sprocs as dbo...unless I'm confused again or am missing somethingquote: Database Properties (Permissions Tab)Use this tab to view or specify the following options.OptionsUser/RoleView the name of the user or role.Create TableSpecify whether permission to create a table is granted for each user or role.Create ViewSpecify whether permission to create a view is granted for each user or role.Create SPSpecify whether permission to create a system procedure is granted for each user or role.Create DefaultSpecify whether permission to create a default is granted for each user or role.Create RuleSpecify whether permission to create a rule is granted for each user or role.Create FunctionSpecify whether permission to create a function is granted for each user or role.Backup DBSpecify whether permission to create a backup database is granted for each user or role.Backup Log Specify whether permission to create a backup log is granted for each user or role.
Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-12-20 : 16:32:02
|
What permissions does the user have that created the dbo sproc?Tara Kizer |
 |
|
X002548
Not Just a Number
15586 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-12-21 : 11:39:04
|
Well you probably have local admin on the box, which means sysadmin...We tried everything to get it to work without db_owner. So if you can find a way, we'd be interested.Tara Kizer |
 |
|
|