Specify list of available children classes for a container

Specify list of available children classes for a container

Sunday 04 February 2007 4:27:40 am - 3 replies

Author Message

André R.

Sunday 04 February 2007 4:52:34 am

This is done by limting the types of classes a editor user can create with that specefic container class as parent_class in user roles.

Example from Calendar in ezwebin on 3.9:

content, create, class( event ), parent_class ( event_calendar )

or forum:

content, create, class( forum_topic ), parent_class ( forum )
content, create, class( forum_reply ), parent_class ( forum_topic )

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Maurizio Betti

Sunday 04 February 2007 5:56:07 am

Great! I'll try immediatly!!!

Many thanks

Maurizio Betti
http://www.arsweb.it
http://www.hospes.it

André R.

Sunday 04 February 2007 6:11:04 am

Remember that you'll have to remove any general create rights first for editor role, like:

content *
or
content create *

(If you for some reason have that.)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.