August 24, 2005 at 7:51 am
HI
We are getting the following error when one of my developer trying to change a stored procedure though I have checked permissions for creating procedure in my database properties.
-------------------------------------------------------------------------------------------
Error 3704: User does not have permission to perform this operation on procedure selchar
--------------------------------------------------------------------------------------------
any Help?
August 24, 2005 at 8:07 am
Does he own the proc. Is he at least in the ddl_admin group? Is the proc qualified with the owner?
August 24, 2005 at 8:09 am
He does not own the SP, I myself created SP and granted him all permissions tfor SP
August 24, 2005 at 8:11 am
Is he at least in the ddl_admin group?
Is the proc qualified with the owner in the script?
August 24, 2005 at 8:14 am
If u dont mind, can u pls let me know how can I check that?
August 24, 2005 at 8:26 am
I have a fixed server role and added that user account to this role. and this role was set to have all the permissions to create a SP, But the User is unable to do it.
August 24, 2005 at 9:01 am
I'm not the security expert here... I'll let someone else pick this one up.
August 24, 2005 at 9:16 am
Sure..Thanks for ur participation.
August 24, 2005 at 9:40 am
ALTER PROCEDURE permissions are not transferrable, according to BoL. See "Alter procedure" in BoL.
I suggest, as Remi was getting at, that you add the user to the fixed database role db_ddladmin. It has all DDL permissions in a database, including ALTER PROCEDURE.
Greg
Greg
August 24, 2005 at 9:42 am
Glad to see I'm not completly clusless in that departement
.
August 24, 2005 at 10:47 am
I added the role to db_ddladmin, now its working.
Thanks a lot Greg.
August 24, 2005 at 10:49 am
I have added role to db_ddladmin, now its working fine.
Thanks a lot Greg
August 24, 2005 at 11:18 am
Just for further referrences, what wasn't clear about that question?
Is he at least in the ddl_admin group?
Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply