is user/edit for users work for any1 ?!?

Author Message

Selmah Maxim

Monday 26 May 2003 1:04:59 am

Hi ..

From the new user/edit fix (by Ez team) :

For user/edit and user/setting the current user must have content/edit permission for the select user to be able to access the functionality.
For user/password it is now only possible to change the password for your own user.

didn`t wrok for me, just if i give the user content,edit,* !
any1 got problem with this, or just me !!

by looking the user code, and site.ini i found in site.ini :
# Which user is considered the creator
UserCreatorID=14

and in user/edit.php :

if ( !$userObject->canEdit() )
return $Module->handleError( EZ_ERROR_KERNEL_ACCESS_DENIED, 'kernel' );

$userObject->canEdit() : it`s for user 14 (admin user)

so the user will not have the access to edit his account, coz the editor and the considered of his account is the admin !

maybe what am saying is wrong, but if yes, this mean it`s new bug !

do try plz edit a user profile as normal user ?
what roles should i give the users to let them edit they own accounts ?

thx in advance.

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 21:20:16
Script start
Timing: Jan 30 2025 21:20:16
Module start 'layout'
Timing: Jan 30 2025 21:20:16
Module start 'content'
Timing: Jan 30 2025 21:20:16
Module end 'content'
Timing: Jan 30 2025 21:20:16
Script end

Main resources:

Total runtime0.0225 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0038 739.4766220.7188
Module start 'content' 0.00890.0120 960.1953993.7266
Module end 'content' 0.02090.0016 1,953.921929.9922
Script end 0.0225  1,983.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.1550140.0002
Check MTime0.00114.7221140.0001
Mysql Total
Database connection0.00062.667310.0006
Mysqli_queries0.002611.737930.0009
Looping result0.00000.052910.0000
Template Total0.00115.010.0011
Template load0.00093.780410.0009
Template processing0.00031.207210.0003
Override
Cache load0.00062.485310.0006
General
dbfile0.00156.456280.0002
String conversion0.00000.029640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs