Hi all,
On a SQL Server 2008 database I want to give a user the rights to GRANT, REVOKE and DENY on objects only of type stored procedure (not using the db_securityadmin database role). How can i do this? Thanks!
Sandor
Hi all,
On a SQL Server 2008 database I want to give a user the rights to GRANT, REVOKE and DENY on objects only of type stored procedure (not using the db_securityadmin database role). How can i do this? Thanks!
Sandor
The easiest way would probably be to group the stored procedures into a separate schema and give the desired user CONTROL permission on that schema.
There may be other ways to accomplish what you want, but I'm not aware of them.
Wrap the GRANT/REVOKE/DENY via another stored proc that:
Otherwise, there is no way to separate permissions per object type