Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
Subject: Re: Privileges on Triggers

Subject: Re: Privileges on Triggers

2007-11-01       - By Andrew Kerber

 Back
Why would you need to grant execute or any other privilege on a trigger?  It
is executed automatically when the corresponding dml is run on the table or
action is taken within the database.  No privilege is needed outside those
granted on the table.  I suppose you might need to put an alter privilege on
it to allow a non-privileged user the ability to change the trigger if you
really wanted to, but I cant think of anything else...

On 11/1/07, William Wagman <wjwagman@(protected)> wrote:
>
> Greetings,
>
> I have been playing around trying to grant execute on a trigger to a
> particular user. After playing with this for a while and reading docs I
> have come to the conclusion that execute on a trigger is not an allowed
> grant. Instead the access is given via a public synonym. For example,
> give the particular trigger, usera.trigger. If usera wants to allow
> userb to use the trigger it is sufficient merely to create a public
> synonym, create public synonym trigger on usera.trigger and user b will
> then be able to use the trigger. Seems to simplistic for me, is that
> correct or am I missing something?
>
> Thanks.
>
> Bill Wagman
> Univ. of California at Davis
> IET Campus Data Center
> wjwagman@(protected)
> (530) 754-6208
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>


--
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

Why would you need to grant execute or any other privilege on a trigger?&nbsp;
It is executed automatically when the corresponding dml is run on the table or
action is taken within the database.&nbsp; No privilege is needed outside those
granted on the table.&nbsp; I suppose you might need to put an alter privilege
on it to allow a non-privileged user the ability to change the trigger if you
really wanted to, but I cant think of anything else...
<br><br><div><span class="gmail_quote">On 11/1/07, <b class="gmail_sendername"
>William Wagman</b> &lt;<a href="mailto:wjwagman@(protected)">wjwagman@(protected)
.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left:
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Greetings,<br><br>I have been playing around trying to grant execute on a
trigger to a<br>particular user. After playing with this for a while and
reading docs I<br>have come to the conclusion that execute on a trigger is not
an allowed
<br>grant. Instead the access is given via a public synonym. For example,<br
>give the particular trigger, usera.trigger. If usera wants to allow<br>userb to
use the trigger it is sufficient merely to create a public<br>synonym, create
public synonym trigger on
usera.trigger and user b will<br>then be able to use the trigger. Seems to
simplistic for me, is that<br>correct or am I missing something?<br><br>Thanks.
<br><br>Bill Wagman<br>Univ. of California at Davis<br>IET Campus Data Center
<br><a href="mailto:wjwagman@(protected)">wjwagman@(protected)</a><br>(530) 754
-6208<br>--<br><a href="http://www.freelists.org/webpage/oracle-l">http://www
.freelists.org/webpage/oracle-l</a><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Andrew W. Kerber<br><br>&#39;If at first you
dont succeed, dont take up skydiving.&#39;