Bug or my misunderstanding of roles?

Author Message

Vivienne van Velzen

Wednesday 02 July 2003 12:44:16 am

I've created a role that enables a person to create/edit and remove a certain class from his section. As an added bonus, I've also added the policy:
content edit Class( Folder ) , Section( Standard section )

This enables this person to also change the priority of the folders in the Standard Section.

I then found out that there was a problem placing related objects in articles placed in his section. When trying to place the related object (clicking on select after making the selection), I was thrown back to the frontpage (no error message shown), and the related object was not linked to the article.
After quite some time debugging, I found out that by removing the 'bonus' policy, this problem had disappeared.
After playing around some more, I also found out that the problem disappeared by including another policy (to also be able to create/remove folders in the Standard Section).

Now I can't really see how being able to add/create or remove folders in a whole different section of the site should have any influence on placing a related object in an article.
Can anybody else?
TIA,

Vivienne

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 31 2025 01:20:59
Script start
Timing: Jan 31 2025 01:20:59
Module start 'layout'
Timing: Jan 31 2025 01:20:59
Module start 'content'
Timing: Jan 31 2025 01:21:00
Module end 'content'
Timing: Jan 31 2025 01:21:00
Script end

Main resources:

Total runtime1.0204 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.0054 588.2500151.2266
Module start 'layout' 0.00540.0039 739.4766220.7031
Module start 'content' 0.00931.0102 960.17974,142.3828
Module end 'content' 1.01950.0009 5,102.56258.0000
Script end 1.0204  5,110.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3541160.0002
Check MTime0.00120.1218160.0001
Mysql Total
Database connection0.00060.063410.0006
Mysqli_queries0.942992.4049460.0205
Looping result0.00050.0460440.0000
Template Total0.968694.920.4843
Template load0.00190.183520.0009
Template processing0.966794.729420.4833
Template load and register function0.00150.149210.0015
states
state_id_array0.00090.090710.0009
state_identifier_array0.00070.070020.0004
Override
Cache load0.00150.1474130.0001
Sytem overhead
Fetch class attribute can translate value0.00220.211410.0022
Fetch class attribute name0.00180.180810.0018
XML
Image XML parsing0.00010.010910.0001
class_abstraction
Instantiating content class attribute0.00000.003010.0000
General
dbfile0.00240.2327100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs