Access control - Roles and policies problem

Author Message

Guillaume Dablin

Wednesday 05 August 2009 3:23:53 am

Hello,

I'm facing a strange problem relative to "access control - roles and policies".

<b>The fact :</b>

I'm working on ezPublish 4.1.
I would like to allow site member to create/edit/remove their own object in a dedicated folder of my site.
In order to do so, I set up member rights accordingly :

Module Function Limitation
[content] [create] [myFolder] [myObject]
[content] [edit] [myFolder] [myObject] Owner (self)
[content] [remove] [myFolder] [myObject] Owner (self)

After that, I clean up all the caches.

<b>Problem :</b>
In a first time, it is working perfectly. Log in as a site member, I succeed to create/edit and remove myObject.
Nevertheless, after log out and log in with another site member it is not possible anymore to create/edit/remove myObject, even if I re-use the site member whichfor it was possible in a first time.

Any idea about what is going on ?

Many thanks in advance.

Max Keil

Monday 17 August 2009 5:03:32 pm

We had the same issue on a customer site. Maybe you use one of the first releases of 4.1 - try to update it to the newest version - in our case it seems to help.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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 10:17:04
Script start
Timing: Jan 18 2025 10:17:04
Module start 'layout'
Timing: Jan 18 2025 10:17:04
Module start 'content'
Timing: Jan 18 2025 10:17:05
Module end 'content'
Timing: Jan 18 2025 10:17:05
Script end

Main resources:

Total runtime0.7615 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1797152.6406
Module start 'layout' 0.00600.0041 741.820339.4766
Module start 'content' 0.01010.7500 781.2969525.3594
Module end 'content' 0.76010.0013 1,306.65638.1250
Script end 0.7614  1,314.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4359160.0002
Check MTime0.00140.1816160.0001
Mysql Total
Database connection0.00100.133810.0010
Mysqli_queries0.712693.5764540.0132
Looping result0.00050.0640520.0000
Template Total0.724295.120.3621
Template load0.00200.261320.0010
Template processing0.722294.841120.3611
Template load and register function0.00010.015610.0001
states
state_id_array0.00070.089210.0007
state_identifier_array0.00120.154320.0006
Override
Cache load0.00160.2140220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.086820.0003
Fetch class attribute name0.00100.125030.0003
XML
Image XML parsing0.00050.072120.0003
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00240.3160160.0002
String conversion0.00000.001240.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs