[Zope-dev] can't use manage_access (security/Roles) in ZOPE 2.3.1b3

2001-04-08 Thread Marcus Schopen

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. 

Zope on Debian Linux:
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 

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

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 
TypeError: (see above)


-- 

_____

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

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] keeping state of tree over different documents

2000-08-27 Thread Marcus Schopen

Hello,

I'm trying to do the following:

- documents containing a tree navigation are created dynamically using standard_header 
and footer.
- the navigation tree is NOT located in a frame but in a table cell which is reloaded 
together with the rest of the page each time a link in that navigation is selected
- the navigation tree is automatically created by using a dtml-method.

The problem that occurs is, that the tree`s open/close state is not correctly 
maintained over the different documents. A solution to that might be to append the 
state of the tree after selection of a link to the it's URL as ?tree-s= ; that 
means pass the future state of the tree to the selected page by using URL-Parameters.

Any ideas how to do that or any other ideas?

Thank you
Marcus



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )