Custom classes not listed!

Author Message

Albert Berenguer

Friday 21 November 2003 9:37:02 am

hi all!
I have a problem with a very simple thing: I want to list the children nodes of the actual node, some of theese are from a custom class and some are articles or folders. The problem is that the nodes wich are from my custom class are not listed, do not appear, and when I try to view an specific node I get a "Access Denied" error.
I have no clue about what to do, any help?
Thanks!

Marco Zinn

Sunday 23 November 2003 12:39:43 pm

Check the rights (policies) of the Anonymous Role.
It's probably set to something like "Anynmous can read these classes: articles, folder, ......".
For security reasons, you must include your new classes in the "content read ...." policy explicitly. For TESTING purposes, you could allow anymous to have "content read *" policy, but this could let everyone read everything (maybe including users....)

Marco
http://www.hyperroad-design.com

Albert Berenguer

Monday 24 November 2003 7:45:28 am

it worked! thanks for the help Marco, i just needed to add my custom classes to the list of the ones wich are viewable to the anonymous role.

thanks again!

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

Main resources:

Total runtime0.7291 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.0313152.6250
Module start 'layout' 0.00820.0034 741.656339.4453
Module start 'content' 0.01160.7161 781.1016530.5156
Module end 'content' 0.72770.0014 1,311.61728.1641
Script end 0.7291  1,319.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4716160.0002
Check MTime0.00150.2005160.0001
Mysql Total
Database connection0.00160.213410.0016
Mysqli_queries0.686194.1045570.0120
Looping result0.00040.0586550.0000
Template Total0.690694.720.3453
Template load0.00220.301620.0011
Template processing0.688394.409020.3442
Template load and register function0.00010.013010.0001
states
state_id_array0.00140.197110.0014
state_identifier_array0.00160.215620.0008
Override
Cache load0.00180.2426150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.063820.0002
Fetch class attribute name0.00070.100540.0002
XML
Image XML parsing0.00050.073920.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00080.1040160.0000
String conversion0.00000.003640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs