Permissions

  • 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?

  • Does he own the proc. Is he at least in the ddl_admin group? Is the proc qualified with the owner?

  • He does not own the SP, I myself created SP and granted him all permissions tfor SP

  • Is he at least in the ddl_admin group?

    Is the proc qualified with the owner in the script?

  • If u dont mind, can u pls let me know how can I check that?

  • 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.

  • I'm not the security expert here... I'll let someone else pick this one up.

  • Sure..Thanks for ur participation.

  • 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

  • Glad to see I'm not completly clusless in that departement .

  • I added the role to db_ddladmin, now its working.

    Thanks a lot Greg.

  • I have added role to db_ddladmin, now its working fine.

    Thanks a lot Greg

  • 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