Forums / Setup & design / Limit which classes can be sub items

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Limit which classes can be sub items

Author Message

Hal Gatewood

Thursday 24 September 2009 1:47:58 pm

Can you limit the items in the select box based on the current class you are in?

For example: I have an article class and I only want to be able to add other articles as sub items of this object, everything else is hidden.

Thanks for any help!

Bruce Morrison

Thursday 24 September 2009 5:24:22 pm

Hi Hal

You typically do this with permissions. Content editors should belong to a role that is restricted in what content classes can be created where (amongst other things).

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Hal Gatewood

Monday 28 September 2009 7:59:49 am

Thanks Bruce!

For others interested in this topic more information can be found here:

http://ez.no/developer/articles/section_segmentation_and_user_permissions_part_2_of_2/roles_and_policies