6 Jun
2004
6 Jun
'04
8:45 p.m.
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