Hi Andrew!<br>In a normal method inside the product's class I use this:<br>security = ClassSecurityInfo()<br>security.setPermissionDefault('Freemind', ('Manager', 'Developer'))<br>security.declareProtected
('Freemind', 'freemind')<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 <<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a>>:</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's constructor public?<br>|<br>| Thanks!<br><br>You have to declare a permission first such as: "Add Garito Product" 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>