Limiting access to class and subtree

Author Message

Piotr Switkowski

Monday 31 December 2007 10:02:47 am

I would like to limit editors permissions to allow to create in given folder only objects of certain class, for example in folder 'news' I would like them to create only articles, no other objects.

Doing this in normal way seems quite troublesome. I would have to create a policy for every function in content module and limit is to class and subtree. As there is quite a few functions in content, that will take time and be complicated. It would be much nicer and easier to allow for policy limitations like all functions but limited to class or subtree.

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 15:12:17
Script start
Timing: Jan 18 2025 15:12:17
Module start 'layout'
Timing: Jan 18 2025 15:12:17
Module start 'content'
Timing: Jan 18 2025 15:12:17
Module end 'content'
Timing: Jan 18 2025 15:12:17
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0391152.6406
Module start 'layout' 0.00470.0032 740.679739.4766
Module start 'content' 0.00790.0044 780.156385.1641
Module end 'content' 0.01240.0018 865.320330.3047
Script end 0.0141  895.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.9636140.0002
Check MTime0.00106.8103140.0001
Mysql Total
Database connection0.00075.101410.0007
Mysqli_queries0.002920.234130.0010
Looping result0.00000.099210.0000
Template Total0.001510.710.0015
Template load0.00075.234310.0007
Template processing0.00085.410910.0008
Override
Cache load0.00053.668410.0005
General
dbfile0.00031.999980.0000
String conversion0.00000.048840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs