[Zope-CMF] Re: Proposal: Limiting the Content Types a user can create
Yuppie
schubbe@web.de
Wed, 19 Mar 2003 19:03:23 +0100
Hi!
Chris Withers wrote:
> Yuppie wrote:
>> I guess 'Add portal content' is still useful to protect invokeFactory.
>> But what about these permissions?
>>
>> 'Add portal topics'
>> 'Add portal folders'
>> 'Add portal events'
>
>
> They are useful if you want to limit content type creation without
> having to resort to using the mechanism I'm about to implement. I'd
> prefer them to stay unless there's a good reason for them to go...
I just can't see any reason why there is an 'Add portal topics'
permission but no 'Add portal document' or 'Add portal link'.
If each content type would have its own add permission, we would not
need 'Create content' at all. But on the other hand, I want less
permission names, not more.
For creating topics you need:
'Add portal content', 'Add portal topics', 'Create content'(TI)
For creating documents you need:
'Add portal content', 'Create content'(TI)
It's not consistent, but I can live with it.
Cheers,
Yuppie