Re: SQL 2005 execute permissions



Vern
If the user has a permission to create an object ( he is an owner). As an
owner the user has automatically permission to execute it





"Vern Rabe" <VernRabe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5C52D024-1D3B-4DA0-9924-CDE5B35B2FC1@xxxxxxxxxxxxxxxx
That is what we have now, but it only applies to existing procedures. We
need
to allow a user to create a new procedure and then grant execute
permissions
on it. Am I missing something?

Vern

"jebuskrust@xxxxxxxxx" wrote:

Create a role in the database.. under Security->Roles

Add users the the role while creating it or once its created in the
roles General Properties

Add the role just created to the procedure's permissions

Grant execute permissions for that role for that procedure.. and see if
you have the same problem with the users that are trying to execute
that proc who have that particular role.


Vern Rabe wrote:
In SQL Server 2005, we have users that are not in the db_owner role. We
have
granted permission to create stored procedures in the dbo schema, but
once
created, the user doesn't have permission to GRANT EXEC permission. How
can
that be accomplished?

Thanks
Vern Rabe




.



Relevant Pages

  • Re: groups vs users
    ... , Dave Stratford wrote: ... owner would be the owner of the directory and NOT the primary ... The '2xxx' permission on a directory has been described upthread. ... The not-very-useful permissions of 2740 (SGID, but without the execute ...
    (comp.os.linux.setup)
  • Re: System.Security.SecurityException was unhandled
    ... The exception gave you the CLSID. ... the first thing to check might be whether the COM server ... assembly actually has the permission in question. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: System.Security.SecurityException was unhandled
    ... assembly actually has the permission in question. ... Try and find the sorce of the security permission error, ... setting was done on both versions 1.1 and 2.0 .NET framework. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: System.Security.SecurityException was unhandled
    ... Is it a must that I need to register the COM server to the machine using ... CAS permissions on the client machine, and the COM issue is a new problem. ... assembly actually has the permission in question. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: user to execute nothing but SP in 2005
    ... What explicit permission I need to give. ... permission and then just grant Execute (I also tried to grant connect ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (microsoft.public.sqlserver.security)