Click to See Complete Forum and Search --> : Privileges on Package Body
CENSUSDBA
03-28-2006, 03:43 PM
I have a user with TOAD who want to view the SPECS of a package body from another user.
Is there any way to grant rights to view the package body to another user.
The following have not worked:
EXECUTE ALL
DBA
SELECT ANY DICTIONARY
SELECT_CATALOG_ROLE
eugene
03-28-2006, 04:05 PM
if you granted DBA, that means this user can view anything he wants...... or do anything he wants.........(make sure you actually granted this role successfully, however I wouldn't recomment granting DBA role left and right....
Eugene Roytman
gandolf989
03-28-2006, 11:39 PM
Have you tried Alter Any Package?
CENSUSDBA
03-31-2006, 12:50 PM
Supriseingly
DBA & Alter Any PAckage did not work either.
Any other suggestions???
gandolf989
03-31-2006, 04:10 PM
Supriseingly
DBA & Alter Any PAckage did not work either.
Any other suggestions???
You might also try execute any package.
CENSUSDBA
04-03-2006, 12:09 PM
Thx for your help
Here is the combo that finally worked
GRANT SELECT ANY DICTIONARY,
SELECT_CATALOG_ROLE,
CREATE ANY PROCEDURE TO 'USER';
{ TO VIEW PKG BODIES OF ANOTHER USER }
davey23uk
04-03-2006, 01:27 PM
what was wrong with 'grant select on dba_source to xxx';
??????