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: assign permissions data_owner to data_select

Re: assign permissions data_owner to data_select

From: <tomac.yao_at_gmail.com>
Date: Thu, 15 Feb 2007 08:52:36 +0800
Message-ID: <81602c1e0702141652n1adc2534y2439765ceaa8fb01@mail.gmail.com>


hi,
submit a job to assign permissions via dynamic sql in ddl trigger.*

*
On 15/02/07, Bob <orcl_at_comcast.net> wrote:
>
> Elementary question but....
>
> Say I have schema data_owner - this guy owns his data and can do what
> he likes in that schema.
>
> I want to create a user "data_select" who can only select from
> "data_owner" and must be dynamic ie when new objects get created
> data_select need to see that.
>
> Is there a nice straight forward way to do this? Im thinking dynamic sql
> and a log on trigger for data_select, but hopefully there is a nice
> clean way to do this
>
> I believe this is a common technique and Im wondering how most dba's
> handle it.
>
> Thanks
> Bob
>
> --
> "Oracle error messages being what they are, do not
> highlight the correct cause of fault, but will identify
> some other error located close to where the real fault lies."
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 14 2007 - 18:52:36 CST

Original text of this message

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