eZ Community » Forums » Suggestions » Roles and list of classes in the...
expandshrink

Roles and list of classes in the contextual menu

Roles and list of classes in the contextual menu

Saturday 01 May 2010 1:13:20 am - 4 replies

Hi,

When we define a role which restricts the classes that can be used, the drop down menu in the Sub-elements frame takes into account only these classes.

But the list of the classes in the contextual menu continues to present all the classes available on the system.

Is not there any way that the contextual menu also takes into account only classes defined by the role?

Pascal

Saturday 01 May 2010 11:32:52 am

Hi Pascal

Unfortunately this is not currently possible sad.gif Emoticon. I just checked in design/admin2/templates/contentstructuremenu/content_structure_menu_dynamic.tpl and it actually just excludes some content classes. Besides, it seems that (undocumented) fetch function - class/list_by_groups - used in that template to list possible classes does not check security policies (eZClassFunctionCollection::fetchClassListByGroups()).

This would be really nice to get that feature IMHO happy.gif Emoticon. Would you mind add a new enhancement issue on issues.ez.no ?

Saturday 01 May 2010 3:26:28 pm

Hi Jérôme,

It's done.

Pascal

Saturday 01 May 2010 4:02:22 pm

Thank you Pascal ! happy.gif Emoticon

Wednesday 11 January 2012 1:41:31 pm

Hi,

I guess this feature is not done yet?

http://issues.ez.no/IssueView.php?Id=16767&activeItem=4

Jean-Luc.

Modified on Wednesday 11 January 2012 1:44:13 pm by Jean-Luc Nguyen

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from