This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Limiting possible child class types?
expandshrink

Limiting possible child class types?

Limiting possible child class types?

Monday 14 April 2003 5:05:44 pm - 3 replies

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).

Monday 14 April 2003 6:48:47 pm

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.

Monday 14 April 2003 7:46:58 pm

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

Paul

Tuesday 15 April 2003 12:31:58 pm

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!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from