  | | | All_Source Question | All_Source Question 2007-10-01 - By Sam Bootsma
Back We would like our developers to see source code for all objects in selected schemas in our production database. I believe I have read that granting execute privilege on a stored procedure will also make that stored procedure visible in the all_source view, but we do not want to give our developers execute privileges in the production environment.
Is there a way to enable developers to view all source code for selected schemas without providing additional privileges? I'd like to avoid giving dba_source privileges.
Thanks!
Sam Bootsma
Oracle Database Administrator
Information Technology Services George Brown College
Phone: 416-415-5000 x4933 Fax: 416-415-4836 E-mail: sbootsma@(protected) <mailto:sbootsma@(protected)>
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office :smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" downloadurl="http://www.microsoft.com"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @(protected) Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>We would like our developers to see source code for all objects in selected schemas in our production database. I believe I have read that granting execute privilege on a stored procedure will also make that stored procedure visible in the all_source view, but we do not want to give our developers execute privileges in the production environment.<o:p></o:p></span>< /font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Is there a way to enable developers to view all source code for selected schemas without providing additional privileges? I’d like to avoid giving dba_source privileges. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><st1:PersonName w:st="on"><em><i><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Sam Bootsma</span></font ></i></em></st1:PersonName><o:p></o:p></p>
<p class=MsoNormal><em><i><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Oracle Database Administrator</span></font></i></em><o :p></o:p></p>
<p class=MsoNormal><st1:place w:st="on"><st1:PlaceName w:st="on"><em><i><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Information< /span></font></i></em></st1:PlaceName><em><i><font face="Times New Roman"> <st1:PlaceName w:st="on">Technology</st1:PlaceName> <st1:PlaceName w:st="on">Services</st1:PlaceName></font></i></em><i><font size=2 face=Arial> <span style='font-size:10.0pt;font-family:Arial;font-style:italic'><br> </span></font><st1:PlaceName w:st="on"><em><i><font face="Times New Roman" >George</font></i></em></st1:PlaceName><em><i><font face="Times New Roman"> <st1:PlaceName w:st="on">Brown</st1:PlaceName> <st1 :PlaceType w:st="on">College</st1:PlaceType></font></i></em></i></st1:place><o:p></o:p>< /p>
<p class=MsoNormal><em><i><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Phone: 416-415-5000 x4933</span></font></i></em><i> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-style: italic'><br> </span></font><em><i><font face="Times New Roman">Fax: 416-415-4836</font></i>< /em></i><i><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-style: italic'><br> </span></font><em><i><font face="Times New Roman">E-mail: </font></i></em></i><a href="mailto:sbootsma@(protected)" title="mailto:sbootsma@(protected)"> <em><i><font color=black face="Times New Roman"><span style='color:windowtext;text -decoration: none'><span title="mailto:sbootsma@(protected)">sbootsma@(protected)< /span></span></font></i></em></a><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
|
|
 |