Solved

Requesting permissions

Posted on 2013-06-13
4
282 Views
Last Modified: 2013-10-08
If I wanted to see (read only) the contents of a package and/or function, what role or security should I ask the DBAs to grant?
0
Comment
Question by:patriotpacer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 500 total points
ID: 39244618
If you have execute on the package, you should already have access to the text through ALL_SOURCE:

select text from all_source where name='PACKAGE_NAME' and owner='SOME_OWNER' order by line;

Based on your previous I'm guessing you want access through DBMS_METADATA.

I believe you need: SELECT_CATALOG_ROLE.

This might be a security concern though...  It will allow you to select a LOT of things from the data dictionary.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39244629
0
 

Author Closing Comment

by:patriotpacer
ID: 39244641
>>This might be a security concern though

There's a copy version which is a week behind.  I'm going to shoot for permissions to it, as opposed to production.
0
 

Author Comment

by:patriotpacer
ID: 39555832
thx
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question