Re: [GENERAL] Utility of GRANT EXECUTE

2006-03-14 Thread Michael Fuhr
On Tue, Mar 14, 2006 at 09:57:54AM +0100, Paul Mackay wrote: > Is there a way to change the default prvilege on functions, i.e. that like > for tables, only the creator has privilege on it by default ? Not that I'm aware of. You could revoke USAGE on the functions' schema so attempts to call the

Re: [GENERAL] Utility of GRANT EXECUTE

2006-03-14 Thread Paul Mackay
Is there a way to change the default prvilege on functions, i.e. that like for tables, only the creator has privilege on it by default ?Thanks.PaulOn 3/14/06, Michael Fuhr <[EMAIL PROTECTED]> wrote:On Tue, Mar 14, 2006 at 09:24:52AM +0100, Paul Mackay wrote: > It seems that any user has the right

Re: [GENERAL] Utility of GRANT EXECUTE

2006-03-14 Thread Michael Fuhr
On Tue, Mar 14, 2006 at 09:24:52AM +0100, Paul Mackay wrote: > It seems that any user has the right to execute a function, whether or not > it has been granted the EXECUTE privilege on it. Even a REVOKE EXECUTE has > no impact. A privilige error will be raised only if the function tries to > access

[GENERAL] Utility of GRANT EXECUTE

2006-03-14 Thread Paul Mackay
It seems that any user has the right to execute a function, whether or not it has been granted the EXECUTE privilege on it. Even a REVOKE EXECUTE has no impact. A privilige error will be raised only if the function tries to access an object (ex.: a table) for witch the user doesn't have the appropr