[Zope] ModuleSecurityInfo and Product registerClass

Richard Jones richard@bizarsoftware.com.au
Wed, 10 Oct 2001 16:27:03 +1000


I have a product that defines a manage_addMyselfForm which has the following 
security declaration:

  from AccessControl import ModuleSecurityInfo
  modulesecurity = ModuleSecurityInfo()
  modulesecurity.declareProtected('View management screens',
      'manage_addMyselfForm')
  modulesecurity.apply(globals())

The function manage_addMyselfForm doesn't have a docstring, and when I try to 
actually add the product through the web, I get "Missing doc string". Is 
there a missing security declaration I need?

Any help appreciated.


    Richard