Re: [Zope3-Users] Permissions for updateOrder() on OrderedContainer

2006-08-09 Thread Arne Nordmann
thank you very much indeed for your answers. I use 
removeAllPermissions() at the moment to have an ad hoc solution and now 
will busy myself with your ideas.

For the sake of correctness: I ment to write removeAllProxies()
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Permissions for updateOrder() on OrderedContainer

2006-08-09 Thread Arne Nordmann

Hey guys,

thank you very much indeed for your answers. I use 
removeAllPermissions() at the moment to have an ad hoc solution and now 
will busy myself with your ideas.


So long,

Arne

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Permissions for updateOrder() on OrderedContainer

2006-08-08 Thread Tom Dossis
Arne Nordmann wrote:
> 
 A.updateOrder(['C', 'B'])
> Traceback (most recent call last):
> ...
> ForbiddenAttribute: ('updateOrder',  0x022244B0>
> -
> (object at 0x022244B0 is OrderedContainer 'A')
> 
> configure.zcml defines each used interface with permission
> 'ManageContent' and I'm logged in as 'Manager'. Accessing the method
> keys(), values(), etc. of the OrderedContainers is no problem. So what's
> the problem?

Hi, just confirming that you've included a directive for
IOrderedContainer, e.g.


  ...
  http://mail.zope.org/mailman/listinfo/zope3-users