Re: deny truncate?
From: Bonj (benjtaylor)
Date: 10/13/04
- Next message: X. Zhang: "Re: SQL Script from Access to SQL Server ("First" function)"
- Previous message: V)arshall: "Re: HELP! SQL Query Question"
- In reply to: Keith Kratochvil: "Re: deny truncate?"
- Next in thread: Keith Kratochvil: "Re: deny truncate?"
- Reply: Keith Kratochvil: "Re: deny truncate?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 20:14:34 +0100
> They do not need to be dbo to execute a dbo owned stored procedure. Just
> have dbo issue
> GRANT EXECUTE ON dbo.YourProcName TO DeveloperNameGoesHere
I know, the thing is though, typing out all those statements could be
regarded as work that isn't actually getting anybody anwhere that they
couldn't be just put there by flipping a switch once. There isn't a large
amount of developers, only 5 - in fact there's twice as many servers than
developers. I just thought if it was easy, then I could do it without too
much hassle.
> You can easily create a stored procedure that issues the appropriate grant
> statements to the appropriate users on all stored procedures or on a
subset
> of stored procedures based on creation date or name. You decide what you
> need and create the supporting stored procedure to do it.
That's an option - it does need repeatedly calling, i.e. every time the
database runs, though.
>
> Giving users the ability to create tables....I would not give them dbo
> rights for this. I would let them play in their own "sandbox" by creating
> tables under their account. When their sand castle (or table) has been
> approved then dbocan create the table within the development environment
(as
> dbo).
Don't get me wrong - I'm not the administrator. I'm a developer.
The 'sandbox' approach wouldn't really work though, because all too often
than not, we have to use the results of what another developer has done,
which is thus in his table. The 'users' of the system, as such, don't even
get to see SQL server. All they see are Excel sheets and graphs, and various
things such as crystal reports in pdf format, that are downloaded off the
servers.
Cheers
- Next message: X. Zhang: "Re: SQL Script from Access to SQL Server ("First" function)"
- Previous message: V)arshall: "Re: HELP! SQL Query Question"
- In reply to: Keith Kratochvil: "Re: deny truncate?"
- Next in thread: Keith Kratochvil: "Re: deny truncate?"
- Reply: Keith Kratochvil: "Re: deny truncate?"
- Messages sorted by: [ date ] [ thread ]