Home » RDBMS Server » Server Administration » User Roles (Oracle XE 10g Windows)
icon9.gif  User Roles [message #520161] Fri, 19 August 2011 00:04 Go to next message
whmemon
Messages: 26
Registered: July 2011
Location: Pakistan
Junior Member

Is there any default way to assign user roles to uses ?

Suppose I want assign to user different roles to different users on views, tables etc.

I nut shell I wan to implement Access control list & Access request objects (ACL/ARO).


Thanks in Advance

Waseem Shocked

[Updated on: Fri, 19 August 2011 00:34]

Report message to a moderator

Re: User Roles [message #520167 is a reply to message #520161] Fri, 19 August 2011 00:58 Go to previous messageGo to next message
Michel Cadot
Messages: 68643
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Grant privilege to roles, then grant roles to users.

Regards
Michel
Re: User Roles [message #520169 is a reply to message #520161] Fri, 19 August 2011 01:16 Go to previous messageGo to next message
John Watson
Messages: 8930
Registered: January 2010
Location: Global Village
Senior Member
Please can you explain what these are in this context:
Quote:
Access control list & Access request objects (ACL/ARO).
Re: User Roles [message #520171 is a reply to message #520167] Fri, 19 August 2011 01:31 Go to previous messageGo to next message
whmemon
Messages: 26
Registered: July 2011
Location: Pakistan
Junior Member

would you tell me if there any tutorial available? I am new to oracle.
Re: User Roles [message #520172 is a reply to message #520169] Fri, 19 August 2011 01:34 Go to previous messageGo to next message
whmemon
Messages: 26
Registered: July 2011
Location: Pakistan
Junior Member

ACL/ARO to set users' roles and access levels, like administrators can access curtain tables & views, clerks can access other and usertype2 can others.

Thanks

Waseem
Re: User Roles [message #520174 is a reply to message #520172] Fri, 19 August 2011 01:41 Go to previous messageGo to next message
Michel Cadot
Messages: 68643
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Use CREATE ROLE and GRANT.

Regards
Michel
Re: User Roles [message #520180 is a reply to message #520174] Fri, 19 August 2011 01:59 Go to previous messageGo to next message
whmemon
Messages: 26
Registered: July 2011
Location: Pakistan
Junior Member

Thanks,

and how can i manage that all ? i mean how can i show the roles, edit them and their privileges etc ?
Re: User Roles [message #520183 is a reply to message #520180] Fri, 19 August 2011 02:48 Go to previous message
Michel Cadot
Messages: 68643
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Query DBA_ROLE_PRIVS, ROLE_ROLE_PRIVS, ROLE_SYS_PRIVS, ROLE_TAB_PRIVS...
All catalog views are described in Database Reference

You can find the views related to a question using DICT view, for instance:
select table_name, comments from dict where lower(comments) like '%role%';
select table_name, comments from dict where lower(comments) like '%privilege%';

Regards
Michel

[Updated on: Fri, 19 August 2011 02:55]

Report message to a moderator

Previous Topic: Error In Drop Package
Next Topic: uable to create control file
Goto Forum:
  


Current Time: Tue Apr 23 12:05:56 CDT 2024