Limiting possible child class types?

Author Message

Gabriel Ambuehl

Monday 14 April 2003 8:05:44 am

I was wondering whether I can somehow limit the types of child classes to a given class a normal user can create.

After all, if I have a customer class, I don't want people to write articles under it, adding normal comments and stuff is ok, though (well all know that you must stop users from having too many possibilities to do stupid things).

Visit http://triligon.org

Peter Bailey

Monday 14 April 2003 9:48:47 am

Best of my knowledge, that's all handled by the role-policies.

When making a customised "create" policy, your last option is to restrict creation to a specific class-type for the parent.

Paul Borgermans

Monday 14 April 2003 10:46:58 am

And the setup of sections to impose the locations in the node tree where users can create their stuff

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Gabriel Ambuehl

Tuesday 15 April 2003 3:31:58 am

Roles perfectly do the job. It might not be the most comfortable of all ways to set it up but sure as hell very flexible. You guys are a great help!

Visit http://triligon.org

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