I'm trying to build a product through the ZMI (like the example in The Zope Book), I have some DTML methods in a ZClass were I want to be able to do a SecurityCheckPermission() on a permission that I have defined in the containing product. When I view the instance of the DTML, it doesn't see the permission. I'm able to at least see the 'View' permission... When I look around in the Permissions and Define Permissions of the various objects (both the ZClass, and the DTML methods), I don't see my permission in the lists, except for under 'Class Permissions' in the Permissions tab for the ZClass (were I have highlighted it, which I assume is correct?)
The call to SecurityCheckPermission() looks like this... <dtml-if expr="_.SecurityCheckPermission('Manage Diary',this())"> I'm thinking maybe I'm calling SecurityCheckPermission in the wrong context? Making a product certainly can be confusing at times. :) Thanks! -- David Case [EMAIL PROTECTED] www.builddiary.net _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )