What I need to do is to create oracle user which will see only procedures and functions headers, without bodies.
Any idea how I can achieve that, what kind of privileges should be set?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Creating a view with a DBA account and granting SELECT on this view should work:
update: this would not work with unpackaged functions and procedures. I don’t think you can separate header and body with regular functions/procedures.
If you use regular functions and procedures, you could grant select on
dba_arguments, this would give you access to all function/procedure parameters.