Forums / Developer / restricted list of the content classes

restricted list of the content classes

Author Message

Vitaly Vitenko

Tuesday 25 March 2008 2:19:18 am

Hello all.
Is it possible to create the short list of content classes which related to any another content class? I mean next possibility:
Now any editor of site in any place of site have seen content list like this:

| Article |
| Article (main page) |
| ... |
| blog |
| blog post |
| etc... |

I need to restrict this list of possibility adding content class, if i'm located in "blog" object type. In this case i want to see next restricted list of possibility adding content class:

| blog post |

no any else content classes no owes to be appear in this list...

Sorry about terrible english...

André R.

Tuesday 25 March 2008 2:26:16 am

You are probably logged in as admin, and hence have access to doing everything.

Login as a editor to see how "content, create, class('blog post'), parent_class('blog')" rules work.
It should be there by default, if not go to (in admin) users -> user roles -> editor and add it / modify existing access rules.

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

Vitaly Vitenko

Tuesday 25 March 2008 7:03:31 am

Andre, you've got me wrong. I don't mean limiting the rights of certain user groups, I mean the properties of content class itself.

E.g. I'd like to create a content class ProductFolder and let ANY user create ONLY objects of class Product under it.