Restricting classes that can be added by a content manager

Author Message

Mark Marsiglio

Wednesday 19 January 2005 12:38:53 pm

Is it possible in 3.5 to limit a class to a particular section, subtree, role or any other limitation? I am creating several new classes that are to be used only in one area of a site, and would like to prevent these new classes from appearing in the "create here" list elsewhere in the admin.

I thought I read about this in a spec at some point, but can't seem to find it now.

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 19 2025 08:59:45
Script start
Timing: Jan 19 2025 08:59:45
Module start 'layout'
Timing: Jan 19 2025 08:59:45
Module start 'content'
Timing: Jan 19 2025 08:59:46
Module end 'content'
Timing: Jan 19 2025 08:59:46
Script end

Main resources:

Total runtime1.0971 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.4063152.6563
Module start 'layout' 0.00630.0046 742.062539.5078
Module start 'content' 0.01091.0847 781.5703462.9609
Module end 'content' 1.09560.0014 1,244.53138.0938
Script end 1.0970  1,252.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3504160.0002
Check MTime0.00180.1612160.0001
Mysql Total
Database connection0.00100.093610.0010
Mysqli_queries1.049595.6652460.0228
Looping result0.00060.0516440.0000
Template Total1.043595.120.5218
Template load0.00260.239220.0013
Template processing1.040994.878920.5205
Template load and register function0.00010.013010.0001
states
state_id_array0.00170.153910.0017
state_identifier_array0.00150.138820.0008
Override
Cache load0.00210.194160.0004
Sytem overhead
Fetch class attribute can translate value0.00080.068510.0008
Fetch class attribute name0.00090.079020.0004
XML
Image XML parsing0.00190.172410.0019
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00440.4033150.0003
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs