[ezpublish-4.0.0beta1] Sections and roles problem [solved]

Author Message

Frédéric Peyron

Sunday 25 November 2007 9:38:32 am

Hi all,

I have a specific section (number 8) in my site. Somewhere in my site, there are some articles, folders, links, forums which belong to this section. I would like that a specific role allows to edit all the content of this section (add, remove, modify articles, links, etc.)
So, I created a new generic role (named "content admin") with only one policy:

<b>content - any functions - no limitation</b>

Then I assigned the role to my user with the 8th section limitation. When I verify the roles assigned to my user, I see:
<b>content admin (section 8 limited) - content - any functions - no limitation</b>

So it seems correct.

But it doesn't work :-(

The edition toolbar doesn't appear for my user when he is located in the 8th section. The user only got the edit and remove buttons for the links.

I'm not familiar with eZpublish so I'm not able to know if it's a bad usage or a bug.

Can someone help me ?

Best regards

Fred.

Frédéric Peyron

Sunday 25 November 2007 2:04:20 pm

OK, I have found. I just had to add the 'Websitetoolbar' policy and it works.

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

Main resources:

Total runtime1.1549 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.0051 588.1563152.6563
Module start 'layout' 0.00510.0035 740.812539.5078
Module start 'content' 0.00851.1449 780.3203425.8359
Module end 'content' 1.15340.0015 1,206.15638.0938
Script end 1.1549  1,214.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2744160.0002
Check MTime0.00140.1219160.0001
Mysql Total
Database connection0.00070.059310.0007
Mysqli_queries1.112496.3171520.0214
Looping result0.00050.0444500.0000
Template Total1.121397.120.5606
Template load0.00230.195420.0011
Template processing1.119096.888420.5595
Template load and register function0.00020.021410.0002
states
state_id_array0.00230.198210.0023
state_identifier_array0.00100.083520.0005
Override
Cache load0.00190.1662180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.070210.0008
Fetch class attribute name0.00130.112520.0006
XML
Image XML parsing0.00010.010310.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00060.0485100.0001
String conversion0.00000.000540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs