Fetch users can access a node

Author Message

Montel Sébastien

Saturday 14 October 2006 3:00:10 am

Hi,

I need to display on each node of our site which users can access it (only which users can read it). I'm looking for around the ezcontentobjecttreenode class, this class owns checkAccess and canRead methods but no result. Someone has already use something like that. Any help would be great !

Thanks,
Sébastien

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

Main resources:

Total runtime0.0401 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 587.9141152.6250
Module start 'layout' 0.01170.0075 740.539139.4453
Module start 'content' 0.01920.0178 779.984485.2109
Module end 'content' 0.03700.0031 865.195330.3047
Script end 0.0401  895.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00276.7658140.0002
Check MTime0.00123.0254140.0001
Mysql Total
Database connection0.00389.525610.0038
Mysqli_queries0.006015.035530.0020
Looping result0.00000.047610.0000
Template Total0.00266.610.0026
Template load0.00194.667110.0019
Template processing0.00081.899610.0008
Override
Cache load0.00163.996610.0016
General
dbfile0.00041.110980.0001
String conversion0.00000.027940.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