[Zope-CMF] Permission problem

Dieter Maurer dieter@handshake.de
Tue, 10 Jun 2003 20:06:44 +0200


Rainer Thaden wrote at 2003-6-10 17:06 +0200:
 > i have different portal_types which act folderish. Let's take
 > 'Employee' as an example:
 > 
 > in a folder 'Employees' portal members can add new 'Employee' objects
 > via folder contents -> new.
 > Inside the folderish 'Employee' object, only the owner and an
 > administrator should be allowed to add new objects (images etc.).
 > Other logged in members should not see the folder contents action
 > inside an 'Employee' object. How can i achieve that in the most
 > comfortable way? 
 > 
 > In portal types -> Employee i can not set the List folder contents permission,
 > which is applied to the folder contents action. If i set 'List folder
 > contents' to manager and owner in the Employees folder the members can
 > not add new 'Employee' objects which is not what i want.

You want to restrict the permissions on the "Employee" instances
themselves and not the "Employees" folder.

An alternative might be to perform the creation by a script
with proxie role. I fear, however, that it will not work.


Dieter