Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: object privs granted to roles
"GQ" <dbaguy_ott_at_yahoo.com> wrote in news: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.
>
>
It seems to me you have a similiar setup than we have.
And how about the high number of granted object privileges in the DD? (5 privileges for about 80 objects grated to one role)
Is there another way (shorter) than granting 5 x 80 privilegs to one role?
TIA
Fred
Received on Wed Dec 29 2004 - 22:25:07 CST