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

Home -> Community -> Usenet -> c.d.o.server -> Re: Record level permissions only for update

Re: Record level permissions only for update

From: Howard J. Rogers <dba_at_hjrdba.com>
Date: Thu, 25 Apr 2002 22:27:10 +1000
Message-ID: <aa8sp4$21f$1@lust.ihug.co.nz>


You really want to look into fine-grained access control. That doesn't require the extra column in the table, nor the creation of a million and one views, and you can use different policies for selects as opposed to updates and deletes.

8i and upwards only, of course.

Regards
HJR "Antonios Christofides" <A.Christofides_at_hydro.ntua.gr> wrote in message news:slrnacflon.4tk.A.Christofides_at_acheloos.itia.civil.ntua.gr...
> Good morning,
>
> I want different users to have different permissions on different rows
> of the same table. In old newsgroups messages I found that this is
> usually accomplished by adding a column to the table, e.g. with the
> username of the "owner" of the record, and creating a view which
> selects only the owner's records. Users have no permissions on the
> table, but they have on the view.
>
> However, this method limits SELECT as well as UPDATE and DELETE. I
> want the user to be able to select all rows, but alter only a subset.
> How is that possible? UPDATE and DELETE triggers? Or is there any
> simpler way?
>
> Thank you.
Received on Thu Apr 25 2002 - 07:27:10 CDT

Original text of this message

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