[Zope-CMF] Security Question
seb bacon
seb@jamkit.com
08 Feb 2002 10:14:29 +0000
Perhaps the best way would be to provide the TypesTool with a new
property, 'Add permission', which is enforced in _getFactoryMethod? Or,
However, that's not enforced at the Zope Security level, which is not
ideal. Hmm, so you could add a method which is called by the properties
editing form which patches the permissions list on the product's factory
method. The other place you could enforce it is in the CMFDefault
initialization code, where currently all Content is registered with the
same permission.
seb
On Thu, 2002-02-07 at 20:20, Chris Withers wrote:
> Hi,
>
> I want certain members to be able to create Folders and Documents but other
> users only to be able to create Documents. How would I go abotu doing this?
>
> Should I be doign something in the Types Tool or is the Workflow Tool the place
> to do it?
>
> In either case, how?
>
> cheers,
>
> Chris
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests