RE: roles

  • From: "Sheehan, Jeremy" <JEREMY.SHEEHAN@xxxxxxxxxxxxxxxxx>
  • To: "Brian.Zelli@xxxxxxxxxxxxxxx" <Brian.Zelli@xxxxxxxxxxxxxxx>, "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 8 Mar 2012 14:13:40 -0500

Check and see if the role is default or not.  The last column will say if it's 
default.

Select * from dba_role_privs
Where grantee = 'username'

Then you can use 

alter user username default role role_name (or 'default role all' for all roles)

Jeremy 


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Zelli, Brian
Sent: Thursday, March 08, 2012 2:08 PM
To: 'oracle-l@xxxxxxxxxxxxx'
Subject: roles

It has been a while but I created a role, assigned objects to the role and then 
assigned the role to a user.  The user is saying he can't select the objects I 
gave him select privs on.  I forgot but am I missing anything else?

ciao,
Brian



This email message may contain legally privileged and/or confidential 
information.  If you are not the intended recipient(s), or the employee or 
agent responsible for the delivery of this message to the intended 
recipient(s), you are hereby notified that any disclosure, copying, 
distribution, or use of this email message is prohibited.  If you have received 
this message in error, please notify the sender immediately by e-mail and 
delete this email message from your computer. Thank you.
--
//www.freelists.org/webpage/oracle-l




--
//www.freelists.org/webpage/oracle-l


  • References:
    • roles
      • From: Zelli, Brian

Other related posts: