Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: object privs granted to roles

Re: object privs granted to roles

From: GQ <dbaguy_ott_at_yahoo.com>
Date: 29 Dec 2004 09:57:17 -0800
Message-ID: <1104343037.639250.154170@c13g2000cwb.googlegroups.com>


What we do in our environments is to create a regular user role that has Select, Insert, Update and Delete privileges on the objects owned by the application schema (maybe execute on procedures/packages). Then depending on the environment, we will grant that role to the developers, or the testers or ... regular users in production. I've once had to create a second role, since in one of the application we wanted to allow a class of users comming into the database not using the application (they were coming in using an odbc link) to only be allowed to view information - so they only had the Select privilege issued on every table and view. The developers are granted the resource privilege, on top of the regular user role in the development database/environment, so they can create objects (tables and views) under their own schema, and do regular DMLs under the application schema. Note that developers do not have accounts to login to the testing database or production, testers don't have accounts in the development database ...

This works quite well for us. Received on Wed Dec 29 2004 - 11:57:17 CST

Original text of this message

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