Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: using set role command in a logon trigger

Re: using set role command in a logon trigger

From: Jared Still <jkstill_at_gmail.com>
Date: Wed, 4 Apr 2007 16:49:29 -0700
Message-ID: <bf46380704041649o70e81ccbla49c3caaaf2c7278@mail.gmail.com>


On 4/4/07, laura pena <lizzpenaorclgrp_at_yahoo.com> wrote:
>
>
>
> Nothing seems to work. Seems you are not allowed set a role in a trigger
> or stored procedures
> bug # 2722827.
>

Didn't realize it was considered a bug. Oracle has not allowed privileges set through a role for as long as I can recall.

Sorry I didn't mention that in my previous reply, I had already hit <SEND>.

Any creative ideas?
>

As I understand it, you need to be able to assign privileges for a particular
user at runtime, based on which app the user has logged in from?

Take a look at proxy users. That may be of help. See 'Alter User' in the SQL reference (9i) to get started. This may or may not do what you need.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 04 2007 - 18:49:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US