Unix Technical Forum

View stored procedure permissions

This is a discussion on View stored procedure permissions within the SQL Server forums, part of the Microsoft SQL Server category; --> We are running SQL Server 2000 Developer Edition. I don't want to make the developers the sysadmin or even ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 04:41 AM
timc
 
Posts: n/a
Default View stored procedure permissions

We are running SQL Server 2000 Developer Edition. I don't want to
make the developers the sysadmin or even the dbo in the user
databases. Is there a way to give them access to only view the
permissions for the stored procedures in the user database without
making them dbo?

When I take them out of the db_owner role, when they open a stored
procedure they no longer see the permissions tab. I would like for
them to see the permissions tab and be able to view the permissions
but not change the permissions.

Is that doable?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 04:41 AM
Erland Sommarskog
 
Posts: n/a
Default Re: View stored procedure permissions

timc (tcaylor@thomasnelson.com) writes:
> We are running SQL Server 2000 Developer Edition. I don't want to
> make the developers the sysadmin or even the dbo in the user
> databases. Is there a way to give them access to only view the
> permissions for the stored procedures in the user database without
> making them dbo?
>
> When I take them out of the db_owner role, when they open a stored
> procedure they no longer see the permissions tab. I would like for
> them to see the permissions tab and be able to view the permissions
> but not change the permissions.


Run sp_helprotect on the procedure from Query Analyzer.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com