Hi Andrew!<br>In a normal method inside the product&#39;s class I use this:<br>security = ClassSecurityInfo()<br>security.setPermissionDefault(&#39;Freemind&#39;, (&#39;Manager&#39;, &#39;Developer&#39;))<br>security.declareProtected
(&#39;Freemind&#39;, &#39;freemind&#39;)<br><br>But outside the class I have no idea how to create security object<br><br>Can I put a code like this outside the class?<br><br>Thanks!<br><br><div><span class="gmail_quote">
2007/7/24, Andrew Milton &lt;<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
+-------[ Garito ]----------------------<br>| Hi all!<br>|<br>| How can I declare a product&#39;s constructor public?<br>|<br>| Thanks!<br><br>You have to declare a permission first such as: &quot;Add Garito Product&quot; when you
<br>create your product, and register the class.<br><br>Then in the ZMI you simply add the roles you want access to that permission.<br><br>--<br>Andrew Milton<br><a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>