ROLES AND PRIVILEGES

From: E. Nunns <en201_at_cus.cam.ac.uk>
Date: 22 Dec 1998 15:29:25 GMT
Message-ID: <75odsl$8p5$1_at_pegasus.csx.cam.ac.uk>


[Quoted] We have adopted a role based approach to granting privileges to objects.

However now we want to allow a user to create a view.

The user was granted privileges to the underlying tables via a role and so [Quoted] we get an error :-

'stored objects cannot use privileges from roles' (ORA-01933)

The suggested action is to grant the privs directly to user. But does this not defeat the object of roles altogether?

Anyone else had a similar problem? How do we get round this one?

Elaine Received on Tue Dec 22 1998 - 16:29:25 CET

Original text of this message