[Zope-dev] Security tab in home grown Product

James A. Hillyerd jamesh@altavista.net
Thu, 18 Mar 1999 16:01:17 -0800 (PST)


I have made my first Product (a little message wall that people can post
colored messages to), but I am having some trouble with the Security tab.
When I press the tab, I get a Permissions screen that looks as it should,
but when I click the change button (no matter what permissions I change,
if any), I get the following error:

Sorry, an error occurred.

Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 877, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 590, in
publish
    (Info: /wall/manage_changePermissions)
  File /usr/local/zope/lib/python/AccessControl/Role.py, line 194, in
manage_changePermissions
    (Object: RoleManager)
  File /usr/local/zope/lib/python/AccessControl/Permission.py, line 166,
in setRoles
AttributeError: manage_main

I don't doubt that I am causing this, but since it isn't occuring in my
code, I don't know how to go about finding the source of the problem.

Thanks for any help you can give.

-james

[]  James A. Hillyerd <jamesh@altavista.net> Java Developer
[]  HyperGlyphics:  http://www.hyperglyphics.com/
[]  GPG Public Key Fingerprint for 1024D/9F956CDE (Expires 2000-02-01):
[]   C86F B073 92DF 1E24 EF0B  0118 6061 0FEC 9F95 6CDE