Registered users can't edit/view their account

Author Message

Adolfo Barragán

Wednesday 22 October 2003 5:06:00 am

I have problems with user's accounts, they can't access to their accounts.

I have read many of forum messages about user selfedit and roles, specially the trhead http://ez.no/developer/ez_publish_3/forum/developer/allowing_users_to_edit_their_own_details_with_selfedit_how_does_it_work but the problem continue. (I'm using ezpublish 3.2-2, but I don't change register.php)

My registered users must have access to edit/view their account (Owner: Self) and also they can create a class (announcement), and they can edit/remove announcements but only if the user is the owner of the object. Also, they must have anonymous access.

I have create a Role: *Registered_Users* and I set its policy as follow:

user * *
form * *
content read Class(...) --some classes, not User nor UserGroup
content read Class(UserGroup) Section(Users)
content read Class(User) Section(Users) Owner(Self)
content create Class(Announcement) Section(Announcements) ParentClass(Board)
content edit Class(Announcement, User) Owner(Self)
content remove Class(Announcement) Owner(Self)

I assigned the user group "Guest Accounts" to role "Registered Users".

With this set up, I can login and logout, and I can also create announcements and edit only "my" announcements, but if I try view "my account" I receive and 'access denied' error.

How can I solve this problem?

Thanks in advance.
Adolfo Barragán

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 19 2025 01:12:41
Script start
Timing: Jan 19 2025 01:12:41
Module start 'layout'
Timing: Jan 19 2025 01:12:41
Module start 'content'
Timing: Jan 19 2025 01:12:42
Module end 'content'
Timing: Jan 19 2025 01:12:42
Script end

Main resources:

Total runtime0.7277 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.2891152.6406
Module start 'layout' 0.00670.0033 741.929739.4766
Module start 'content' 0.01000.7164 781.4063408.1563
Module end 'content' 0.72640.0012 1,189.56258.1250
Script end 0.7276  1,197.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4303160.0002
Check MTime0.00130.1771160.0001
Mysql Total
Database connection0.00080.105110.0008
Mysqli_queries0.674392.6657460.0147
Looping result0.00060.0844440.0000
Template Total0.668491.920.3342
Template load0.00190.262020.0010
Template processing0.666591.594820.3333
Template load and register function0.00030.039210.0003
states
state_id_array0.00130.182910.0013
state_identifier_array0.00080.108520.0004
Override
Cache load0.00150.2100200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.063210.0005
Fetch class attribute name0.00060.083010.0006
XML
Image XML parsing0.00010.015010.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.01401.9260100.0014
String conversion0.00000.001340.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/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs