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: ROLES & such

RE: ROLES & such

From: Diane Whitehead <Diane.Whitehead_at_palmerharvey.co.uk>
Date: Fri, 28 Apr 2000 12:51:25 +0100
Message-Id: <10481.104391@fatcity.com>


I always look at dba_tab_privs and dba_sys_privs where grantee = role_name

> -----Original Message-----
> From: Charlie Mengler [SMTP:charliem_at_mwh.com]
> Sent: Friday, April 28, 2000 3:10 AM
> To: Multiple recipients of list ORACLE-L
> Subject: ROLES & such
>
> I'm trying to identify who has which privs in one of my instances.
> I have a handleful of users (schemas) that show they have been granted
> "HR_ALL" role.
> At this point in time, I'm not sure that this role really exists. (See
> below.)
> Where else should I be looking to see which, if any, privs are associated
> with the HR_ALL role?
>
> SQL> set echo on
> SQL> select grantee, granted_role
> 2 from dba_role_privs
> 3 where grantee = 'ALTAC'
> 4 /
>
> GRANTEE GRANTED_ROLE
> ------------------------------ ------------------------------
> ALTAC CONNECT
> ALTAC HR_ALL
>
> SQL> select role from role_role_privs
> 2 where role = 'HR_ALL'
> 3 /
>
> no rows selected
>
> SQL> select role from role_sys_privs
> 2 where role = 'HR_ALL'
> 3 /
>
> no rows selected
>
> SQL> select role from role_tab_privs
> 2 where role = 'HR_ALL'
> 3 /
>
> no rows selected
>
> --
> Charlie Mengler Maintenance Warehouse
> charliem_at_mwh.com 5505 Morehouse Drive
> 858-552-6229 San Diego, CA 92121
> If you don't use vi, then you shouldn't be working on UNIX!
> --
> Author: Charlie Mengler
> INET: charliem_at_mwh.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 Fri Apr 28 2000 - 06:51:25 CDT

Original text of this message

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