limit of classes

Author Message

Mads Ovesen

Friday 08 February 2008 6:38:01 am

Hi,

I have an editor user to which I have limited the number of creatable classes. This works fine when I log in as an editor, and look at the available classes in the drop down box. But when I click on an element in the left menu and go to 'create here', I can still see all the classes. I have even tried to set read-policy on a subset of classes, but all classes are still shown. Is it a bug, or a setting I have missed??

/m

Mark Marsiglio

Friday 08 February 2008 6:50:14 am

Look for this setting block in contenstructuremenu.ini, and set the override:

# The "Create here" menu when clicking the node icon in the administrator interface.
#   disabled   - Not having the menu.
#   full       - Having the menu with the necessary permission checks - this will most likely slow down the interface.
#   simplified - Having the menu without the necessary permission checks 
#                (in other words: the menu will include all classes regardless 
#                 if the logged in user is allowed to create all those classes at that exact location). 
#                Some users might get ACCESS DENIED, but it might just work for the most typical/usual cases 
#                (where only one admin or a bunch of admins without limitations are using the interface).
CreateHereMenu=simplified

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

eZ debug

Timing: Jan 18 2025 20:55:06
Script start
Timing: Jan 18 2025 20:55:06
Module start 'layout'
Timing: Jan 18 2025 20:55:06
Module start 'content'
Timing: Jan 18 2025 20:55:07
Module end 'content'
Timing: Jan 18 2025 20:55:07
Script end

Main resources:

Total runtime0.6711 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.8125152.6094
Module start 'layout' 0.00670.0034 740.421939.4141
Module start 'content' 0.01020.6597 779.8359522.5938
Module end 'content' 0.66980.0013 1,302.42978.1875
Script end 0.6711  1,310.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4775160.0002
Check MTime0.00130.1976160.0001
Mysql Total
Database connection0.00070.099710.0007
Mysqli_queries0.620492.4463540.0115
Looping result0.00050.0754520.0000
Template Total0.634494.520.3172
Template load0.00200.296120.0010
Template processing0.632494.223320.3162
Template load and register function0.00020.033710.0002
states
state_id_array0.00140.215510.0014
state_identifier_array0.00080.119520.0004
Override
Cache load0.00160.242990.0002
Sytem overhead
Fetch class attribute can translate value0.00070.109920.0004
Fetch class attribute name0.00130.187730.0004
XML
Image XML parsing0.00190.284920.0010
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00310.4591150.0002
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs