[Zope-CMF] How to allow users to modify others' objects?

Josef Albert Meile jmeile@hotmail.com
Sun, 25 Nov 2001 22:53:53 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C17604.0E15A1D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The problem is that I have created a product called Employee and I would =
like that only a group of users, to whom I assigned the role Secretary, =
are able to modify all the instances of it.

I have created a role called Secretary with the following permissions:=20
    - Access future portal content
    - Add Folders (everytime I create an Employee, I create a folder on =
which I store a class
                          instance and an image)
    - Delete objects (they can also delete it)
    - Modify portal content
    - Review portal content (they can also publish it)

Whenever I created a class logged as xuser and then tried to modify it =
as yuser then the following error appeared:
- Unauthorized: You are not authorized to access =
manage_changeProperties.

Then I added the "Manage properties" permission and the message changed =
for:
- Unauthorized: You are not authorized to access editMetadata.

Is there any "edit Metadata" permission? I didn't see it on the manage =
interface.

Thanks in advanced,
Josef.

------=_NextPart_000_0009_01C17604.0E15A1D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The&nbsp;problem is that I have created =
a product=20
called Employee and I would like that only a group of users, to whom I =
assigned=20
the role Secretary, are able to modify all the instances of =
it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have created a role called Secretary =
with the=20
following permissions: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - Access future =
portal=20
content</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - Add Folders =
(everytime I=20
create an Employee, I create a folder on which I store&nbsp;a =
class</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;=20
instance and an image)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - Delete objects =
(they can also=20
delete it)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - Modify portal=20
content</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; - Review portal =
content (they=20
can also publish it)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Whenever I created a class logged as =
xuser and then=20
tried to modify it as yuser then the following error =
appeared:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Unauthorized: You are not authorized =
to access=20
manage_changeProperties.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Then I added the "Manage properties" =
permission and=20
the message changed for:<BR>- Unauthorized: You are not authorized to =
access=20
editMetadata.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there any "edit Metadata" =
permission? I didn't=20
see it on the manage interface.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advanced,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Josef.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C17604.0E15A1D0--