Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > Create view fro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 16713 of 17418
Post > Topic >>

Create view from DBA_ROLES for non-privileged users?

by dananrg@[EMAIL PROTECTED] Jun 12, 2008 at 07:50 AM

Is it possible to create a view based off DBA_ROLES so that a non-DBA
user can keep track of which users belong to roles associated with his
department? In this case, all roles associated with the specific
department are named with a common prefix, e.g. ABC_<rest of role
name>.

I'm thinking of something like the following:

CREATE VIEW ABC_USER_ROLES as
  SELECT USERNAME, GRANTED_ROLE
  FROM DBA_ROLES
  WHERE GRANTED_ROLE LIKE '%ABC_%';

Is there any technical or security issue in creating a view like this
for the user.

It would be a time-saver for all concerned to have the view (vs.
generating static re****ts of what users are in which roles).
 




 6 Posts in Topic:
Create view from DBA_ROLES for non-privileged users?
dananrg@[EMAIL PROTECTED]  2008-06-12 07:50:27 
Re: Create view from DBA_ROLES for non-privileged users?
dananrg@[EMAIL PROTECTED]  2008-06-12 16:31:18 
Re: Create view from DBA_ROLES for non-privileged users?
"Ana C. Dent" &  2008-06-13 01:18:12 
Re: Create view from DBA_ROLES for non-privileged users?
dananrg@[EMAIL PROTECTED]  2008-06-13 05:02:03 
Re: Create view from DBA_ROLES for non-privileged users?
gazzag <gareth@[EMAIL   2008-06-13 06:10:34 
Re: Create view from DBA_ROLES for non-privileged users?
dananrg@[EMAIL PROTECTED]  2008-06-13 07:54:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:17:06 CST 2008.