Role Policies

Author Message

Björn Dieding@xrow.de

Monday 19 May 2003 5:32:29 pm

Applies to Version 3.0.1 maybe also 3.0.2

I just found out...

ROLE SETTING 1
content read *
content versionread *
content edit
content remove *
content create *

differs in behavior to

ROLE SETTING 2
content *

I created a site with a member area were members can create own content.

If members with ROLE SETTING 1 edit content e.g. (/content/edit/407/1)

fetch(content,list,hash(parent_node_id,210,limit,9,sort_by,array(array(priority))))

doesn't return any rows.....

But if the user has ROLE SETTING 2 everything works fine.

ALso is a user with ROLE SETTING 1 is in the modul /content/view/ fetch acts normal too.

Is this a BUG? Why is this that way?

THANKS Björn

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 30 2025 22:23:37
Script start
Timing: Jan 30 2025 22:23:37
Module start 'layout'
Timing: Jan 30 2025 22:23:37
Module start 'content'
Timing: Jan 30 2025 22:23:38
Module end 'content'
Timing: Jan 30 2025 22:23:38
Script end

Main resources:

Total runtime1.1436 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0078151.1953
Module start 'layout' 0.00440.0035 739.2031220.6406
Module start 'content' 0.00791.1350 959.84384,376.4609
Module end 'content' 1.14280.0007 5,336.30477.8906
Script end 1.1435  5,344.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2997160.0002
Check MTime0.00120.1092160.0001
Mysql Total
Database connection0.00060.052010.0006
Mysqli_queries1.072693.7910460.0233
Looping result0.00030.0302440.0000
Template Total1.097796.020.5488
Template load0.00200.178420.0010
Template processing1.095695.806020.5478
Template load and register function0.00120.106210.0012
states
state_id_array0.00180.156310.0018
state_identifier_array0.00110.092320.0005
Override
Cache load0.00170.1484250.0001
Sytem overhead
Fetch class attribute can translate value0.00130.114510.0013
Fetch class attribute name0.00160.142020.0008
XML
Image XML parsing0.00170.146010.0017
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00230.2005160.0001
String conversion0.00000.000640.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs