Is policy basing its logic on main location only ?

Author Message

Jerome Despatis

Friday 28 May 2010 8:15:23 am

Hi,

I've a section Restricted.

And an object that has a location in this section Restricted and its main location in another section (let it call anotherSection)

I'd like my user to see objects in this section Restricted, and as a result see this object.

So i've add a new policy: content/read/Section(Restricted)

=> But my user that are surfing in this section can't see this object !! The only ways I've found are:

* moving the main location of this object to this restricted section (but I don't want that)

* or adding a new policy content/read/Section(anotherSection), but I don't want that either...

Maybe I'm mistaken ? what is the solution ?

Thanks a lot for your help !

Jerome Despatis

Friday 28 May 2010 8:54:41 am

Arg, someone has IRC has confirmed me that section is attached at object level, and not at node level.

So my problem has no answer...

I have to put everything in the same section and try to limit by 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 04:58:36
Script start
Timing: Jan 18 2025 04:58:36
Module start 'layout'
Timing: Jan 18 2025 04:58:36
Module start 'content'
Timing: Jan 18 2025 04:58:37
Module end 'content'
Timing: Jan 18 2025 04:58:37
Script end

Main resources:

Total runtime0.6618 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.0469152.6406
Module start 'layout' 0.00600.0018 740.687539.4766
Module start 'content' 0.00790.6526 780.1641422.8281
Module end 'content' 0.66040.0013 1,202.99228.1250
Script end 0.6618  1,211.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4746160.0002
Check MTime0.00130.2012160.0001
Mysql Total
Database connection0.00090.136410.0009
Mysqli_queries0.621393.8709520.0119
Looping result0.00040.0671500.0000
Template Total0.634895.920.3174
Template load0.00190.293220.0010
Template processing0.632895.616220.3164
Template load and register function0.00020.027110.0002
states
state_id_array0.00070.104710.0007
state_identifier_array0.00060.091720.0003
Override
Cache load0.00160.2467170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.088410.0006
Fetch class attribute name0.00120.184920.0006
XML
Image XML parsing0.00010.016810.0001
class_abstraction
Instantiating content class attribute0.00000.001220.0000
General
dbfile0.00190.2836100.0002
String conversion0.00000.000940.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs