Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Two simple questions...
Hi Rauf,
Perhaps I didn't explain myself.
The problem is that the stored procedure I am talking about creates a database link. Oracle executes procedures with the privileges conceded directly to the user (with role equals to none). So I can't execute the procedure without giving the user a create database link privilege explicitly (being in a role that has that privilege doesn't count).
What I would like to know is if there is a way to force oracle to use the privileges of the roles that the user is in, instead of the privileges conceded directly to him.
Best regards,
Gama Franco
Rauf Sarwar wrote:
> Comments embedded.
>
>
>>1 - Is it possible to run a stored procedure using the privileges >>granted to a user through a role? I mean, is there any way to do it?
>>2 - How do I inspect the roles of a user using SQL PLUS?