
|
[oracle-l]
||
[Date Prev]
[08-2004 Date Index]
[Date Next]
||
[Thread Prev]
[08-2004 Thread Index]
[Thread Next]
RE: stupid grant question
- From: "Mark W. Farnham" <mwf@xxxxxxxx>
- To: <oracle-l@xxxxxxxxxxxxx>
- Date: Mon, 2 Aug 2004 12:01:08 -0400
I suppose you could grant execute on a wrapper package owned by an account
with the appropriate authority, but unless the enumerated number of tables
to be so handled is very small you would be prone to death by clutter. If
you wrote the wrapper to take a table name as an argument, you would be
effectively granting "any" for exec dbms_stats. I'm not sure whether the
latter solution would be allowed within your rule book. If the package is
owned by an account with "any" capability, I suppose that would violate your
rules. Maybe you have few enough combinations of users "A" and "B" that you
could create the package for each "B" and grant execute for each "A" from
each "B."
(The death by clutter issues here seem very similar to the original
implementation of the e-Business suite, where enumerated cross synonyms and
grants seemed like a pretty good idea when there were only about 6 schemas
involved.)
good luck
mwf
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of
ryan.gaffuri@xxxxxxxxxxx
Sent: Monday, August 02, 2004 9:47 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: stupid grant question
User A needs to 'alter table' and 'exec dbms_stats' on a table in User B.
grant all on a table does not do it. I cannot do 'alter any' or DBA
privileges to this user due to security restrictions.
Not used to working in this type of environment, I usually just grant DBA
when I need to do this.
can someone remind me?
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
|

|