Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Privilege Problem
A copy of this was sent to s_teng_at_hotmail.com
(if that email address didn't require changing)
On Fri, 13 Nov 1998 15:07:41 GMT, you wrote:
>If I log on as that user, and issues the following SQL, I get the following
>results:
>
>SQLWKS> select * from session_roles
> 2>
>ROLE
>------------------------------
>0 rows selected.
>SQLWKS> select * from user_role_privs
> 2>
>USERNAME GRANTED_ROLE ADM DEF OS_
>------------------------------ ------------------------------ --- --- ---
>0 rows selected.
>
>As that user I can "CREATE OR REPLACE" any proc or function that already
>exists under that schema, or I can even "DROP" a func or proc, but I cannot
>"CREATE" a new one? Does this sound right?
>
from the docs:
Privileges Required to Drop Procedures and Packages
so, you need no privelege to drop your 'own' objects -- anyone can drop things they own.
Same with OR REPLACE. You need no priveleges to REPLACE your own code with some new code. If you own it, you can drop it, you can replace it.
>I know I can create the procs and funcs under another user and grant
>privileges and make synonyms, but the user currenty has reports and code that
>have the schema owner hard coded and I want minimal impact while not allowing
>the user to modify these objects.
>
>
>
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Herndon VA
--
http://govt.us.oracle.com/ -- downloadable utilities
Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Fri Nov 13 1998 - 09:54:53 CST