[Zope] Problem setting security attributes of a file

Carlos Henrique Bauer bauer@atlas.unisinos.br
Fri, 17 Sep 1999 09:59:07 -0300


Hi,

I'm getting an error when a try to set the security atributes of a file. The
setting of the security attributes of a DTML Document works with no problem.

Include bellow is the error report from Zope. Any ideas?

Best regards,

Carlos H. Bauer

Zope has encountered an error while publishing this resource. 

             Error Type: AttributeError
             Error Value: tag



             Troubleshooting Suggestions

                  The URL may be incorrect. 
                  The parameters passed to this resource may be incorrect. 
                  A resource that this resource relies on may be encountering an error. 

             For more detailed information about the error, please refer to the HTML source for
             this page. 

             If the error persists please contact the site maintainer. Thank you for your patience. 


Traceback (innermost last):
  File /usr/encap/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/encap/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/encap/Zope-2.0.0/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
    (Object: TestFile)
  File /usr/encap/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/encap/Zope-2.0.0/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_changePermissions)
  File /usr/encap/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: manage_changePermissions)
  File /usr/encap/Zope-2.0.0/lib/python/AccessControl/Role.py, line 247, in manage_changePermissions
    (Object: TestFile)
  File /usr/encap/Zope-2.0.0/lib/python/AccessControl/Permission.py, line 171, in setRoles
AttributeError: (see above)