Re: [Zope-dev] roles, permissions problem

2002-07-10 Thread Dirk Datzert
Hi Dieter, you were right but in a way you will not expect: I digged into User.py / allowed and their are the user_roles checked against the object_roles, and in this function the 'Author' is not user_roles. But in the AUTHENTICATED_USER / LDAPRoleTwiddler the roles are displayed correct. Rega

[Zope-dev] roles & permissions

2002-07-10 Thread Dirk Datzert
Hi, I added a role 'Authenticated' to a Zope 2.3.3 and defined permissions for that role. After that I delete the role 'Authenticated', but the permission settings are still alive ? I would expect that role defined permissions has gone away if I delete the role ? Am I wrong ? Regards, Dirk _

Re: [Zope-dev] roles, permissions problem

2002-07-10 Thread Dirk Datzert
Hi Dieter, I have displayed the roles AUTHENTICATED_USER and looked into the LDAPUserFolder / LDAPRoleTwiddler cache, which roles the user had and the user had the roles Author and Authenticated, which should be correct. But the permissions resulting on that roles are not what they should. I hav

Re: [Zope-dev] roles, permissions problem

2002-07-10 Thread Dieter Maurer
Dirk Datzert writes: > ... > A product defines a roles 'Author' and the permissions are set as > neccessary for this product. > > I also have LDAPUserFolder installed. The logged on user has the role > 'Author' and 'Authenticated'. I detected now that I have to duplicate > all permissions

[Zope-dev] Very old version of xmlrpclib.py in Zope has incorrect behaviour

2002-07-10 Thread Tim Hoffman
Hi I am trying to use Zope with XWT (www.xwt.org) but the behaviour of xmlrpclib.py in the distribution of Zope (2.5.1) is incorrect. XML payloads which don't have a tag if no parameters are supplied breaks (which is not correct) I have lodged a collector on this http://collector.zope.org/Zo