Matthew Roessner
asked on
SQL Stored Procedure Authority
Our developers have been creating a lot of SQL Stored Procedures lately. When they are doing this - the default authority that is "granted" to the new object is basically *PUBLIC *USE and then *ALL access to the user profile who created the Stored Procedure. The problem is that the other developers who work on the application are then not able to work with the new stored procedure.
Is there an option to "adopt" the authority of the library which the Stored Procedure is created in? It would be ideal to just adopt the authority of the parent library - which is set up the way we want it to be.
I appreciate any guidance.
Is there an option to "adopt" the authority of the library which the Stored Procedure is created in? It would be ideal to just adopt the authority of the parent library - which is set up the way we want it to be.
I appreciate any guidance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Developer user profiles could be configured to all have the same primary group profile, and to assign ownership of new objects to the group.
I'd think that would solve the issue.
If not, you could include standard code in your scripts where you create procedures to assign the desired default authority. Change management software (Turnover, for example) can also be configured to handle setting object authority on an object type basis.