[Zope] how can I enforce my own Delete permission
Dieter Maurer
dieter@handshake.de
Sat, 28 Jun 2003 20:07:10 +0200
robert wrote at 2003-6-28 16:53 +0200:
> ...
> security.setPermissionDefault('Delete ZehnderRequests', ['Manager', 'Owner'
> ]
> ...
> now my problem:
>
> every user has the permission set altough only manager should have it.
>
> what am I doing wrong here ?
There has been a bug with "setPermissionDefault" (search the
CVS log to check when it was fixed).
It might (though not very likely) be a difference between a list
and a tuple. At other places, a list indicates "include acquisition"
while a tuple means "just these roles without acquisition".
Dieter