From sknd100@yahoo.com Fri, 27 Jul 2001 12:45:08 -0700
From: Scott Shafer <sknd100@yahoo.com>
Date: Fri, 27 Jul 2001 12:45:08 -0700
Subject: Solution (sorta) - Re: Another Braindead Friday...
Message-ID: <F001.00357D6C.20010727124057@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


Well, thanks to all for the excellent recomendations, but it turns out
to be a moot point.  Access to the data _must_ be constrained by the
security requirements of the system, so I'm turning it over to any
Damagers who haven't departed for the "Front 9" yet.

Among the suggestions:  
--grant select "with admin option" or "with grant option" to the view
owner.
--grant create view to end users.
--create a stored proc to generate views on the fly in each end users
schema or in the table owner's schema with the necessary grants.

Thanks Again and Happy Friday,

Scott


Scott Shafer wrote:
> >
> > -----Original Message-----
> > Sent: Friday, July 27, 2001 1:31 PM
> > To: Multiple recipients of list ORACLE-L
> >
> > I have RTFM'd re: the following problem in HPUX11, Oracle 7.3.3:
> >
> > --I have user1 who has select privileges on another schema's table
> > (user2.tab) through "Select Any Table" privilege.
> >
> > --user1 creates a view on user2.tab and grants select on the view to
> > other users (user3..n) through a shared role.
> >
> > --When user3, et al tries to select from the view they get the infamous
> > "ORA-1720 - Grant option does not exist for xxx.xxx" error.
> >
> > --I know you I can grant select on user2.tab with grant option to user1
> > and solve this, but I would rather not do that if at all possible.
> >
> > --Also, I could create the view as user2 and not have the problem.  The
> > issue here is user1 needs to create the above type of views on the fly
> > (please! I didn't design it!!!), and with 30 sites to support, there is
> > no way to keep up if I have to create the views one by one.
> >
> > Is there any way around the situation besides the "select with grant
> > option" clause to user1 (view owner)?
> > Am I an idiot?
> > Are sheep considered dates in TX?
> > HELP
> >
> > Thanks,
> >
> > Scott Shafer
> > San Antonio, TX

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Scott Shafer
  INET: sknd100@yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


