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: What or who is PUBLIC?

Re: What or who is PUBLIC?

From: Joseph S. Testa <teci_at_oracle-dba.com>
Date: Mon, 12 Mar 2001 15:13:53 -0800
Message-ID: <F001.002CA46C.20010312143121@fatcity.com>

It might not be a role from dba roles, but look at the underlying source for the view, and you'll see that its EXPLICITY excluded in the where clause, even though its ALL stored in USER$.

joe
"Maser, Donna (SEA)" wrote:
>
> Good point Joe. Happily, we are both right.
> Although you are correct that PUBLIC gets created
> as a role 'under the covers', it is not listed as
> a role (try 'SELECT * FROM DBA_ROLES'), nor is it
> ever referred to as a role in the Oracle documentation.
> If you RTFM (:> as you are so fond of suggesting to others)
> you'll notice that PUBLIC is referred to as a 'USER GROUP'.
>
> I made the assumption that the question was coming from
> a novice DBA, so thinking of PUBLIC as a ROLE could be
> confusing, since it is not quite the same as "normal" roles.
>
> - Donna Maser
>
> -----Original Message-----
> Sent: Thursday, March 08, 2001 7:40 PM
> To: Multiple recipients of list ORACLE-L
>
> I beg to differ, look at sql.bsq,
>
> quote:
> create role public
> /
>
> its right after the create user sys ....
>
> joe
>
>
> "Maser, Donna (SEA)" wrote:
> >
> > Ron,
> >
> > PUBLIC is not actually a ROLE, it is a 'user group'.
> > It always is available to ALL users in a database.
> > If used in reference to a synonym, privilege, role,
> > or subroutine (variable, constant, function, procedure)
> > of a package it means the synonym, privilege, role,
> > or subroutine is accessible to every database user.
> >
> > The other use of public is in reference to a rollback segment
> > within a parallel server database, where public means that
> > any instance requiring a rollback segment can use it .
> >
> > Donna
> >
> > -----Original Message-----
> > Sent: Thursday, March 08, 2001 2:22 PM
> > To: Multiple recipients of list ORACLE-L
> >
> > Can anyone point me to a paper or explanation of the Oracle role? called
> > PUBLIC? How do you manage permissions for PUBLIC?
> >
> > Ron Smith
> > Database Administration
> > rlsmith_at_kmg.com
>
> The information contained in this email is intended for the
> personal and confidential use of the addressee only. It may
> also be privileged information. If you are not the intended
> recipient then you are hereby notified that you have received
> this document in error and that any review, distribution or
> copying of this document is strictly prohibited. If you have
> received this communication in error, please notify Celltech
> Group immediately on:
>
> +44 (0)1753 534655, or email 'is_at_celltech.co.uk'
>
> Celltech Group plc
> 216 Bath Road, Slough, SL1 4EN, Berkshire, UK
>
> Registered Office as above. Registered in England No. 2159282
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Maser, Donna (SEA)
> INET: DonnaMaser_at_chiroscience.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_at_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).

-- 
Joe Testa  http://www.oracle-dba.com
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joseph S. Testa
  INET: teci_at_oracle-dba.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_at_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).
Received on Mon Mar 12 2001 - 17:13:53 CST

Original text of this message

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