[Zope] AccessControl/Role.py -> manage_access breaks (security/Roles) in ZOPE 2.3.1b3

Marcus Schopen marcus.schopen@uni-bielefeld.de
Mon, 09 Apr 2001 01:01:55 +0200


Hi,

can't manage security and roles in Zope's root folder any more. I'm not
sure if this error came up with upgrading from stable 2.3.1 to 2.3.1b3. 

System:
Zope Version  Zope 2.3.1b3 (binary release, python 1.5.2, linux2-x86)  
Python Version  1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]  
System Platform  linux2 (Debian)

When clicking on 'security' button in the root folder I get the
following error.

Thank you
Marcus



Traceback (innermost last):
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /home/zope/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /home/zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: manage_access)
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: manage_access)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/AccessControl/Role.py, line
258, in manage_access
    (Object: ApplicationDefaultPermissions)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 324, in __call__
    (Object: _normal_manage_access)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 353, in _bindAndExec
    (Object: _normal_manage_access)
  File /home/zope/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py,
line 236, in _exec
    (Object: _normal_manage_access)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 146, in render
    (Object: _.namespace(valid_roles=valid_roles()))
  File /home/zope/Zope/lib/python/DocumentTemplate/DT_In.py, line 646,
in renderwob
    (Object: permission_settings)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/AccessControl/Role.py, line
182, in permission_settings
    (Object: ApplicationDefaultPermissions)
  File
/home/zope/Zope-2.3.0-linux2-x86/lib/python/AccessControl/Role.py, line
177, in <lambda>
TypeError: (see above)



-- 

_____________________________________

      (0>   Marcus Schopen
      //\   Bielefeld, Germany
      V_/_
_____________________________________