[Zope] Permissions: A question
Dieter Maurer
dieter at handshake.de
Sun Jun 6 16:45:40 EDT 2004
robert rottermann wrote at 2004-6-5 14:18 +0200:
>in CMF the rigth to add content is controlled by the permission "Add
>portal content"
>
>When I create my own portal type, say RR_content it gets automatically the
>"Add RR_contents"
>permission assigned .
>
>However I have the impression that to add portal content this permission
>is not taken into accout.
>It is still enough to have the permission "Add portal content"
>
>Do I miss something here ?
>What is that automatic permission for ??
It depends how you register the constructor:
"context.registerClass" uses the permission you specify
in the call or one derived from "meta_type".
"ContentInit" uses the permission you specify in the call,
which usually is "Add portal content".
--
Dieter
More information about the Zope
mailing list