Disable password modification in user profile

Author Message

Jean-Yves Zinsou

Monday 10 August 2009 4:49:35 am

Using sso i don't want the users to be able to modify their password when editing their profile (url is : content/edit/etc...).

- Hiding the attribute user_account is a problem because it is required ...
- making it not required and hidden generates change of password to an unknown value...

I have been looking arround in the forums, but no luck ...

Something simple i have not thought of ?

Anyone with feedback on this one ???

Thanks for any help ..

Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Piotrek Karaƛ

Monday 10 August 2009 2:20:32 pm

Giving up standard edit form and producing a dedicated view with customized form (sort of an edit wrapper) could be one way...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Jean-Yves Zinsou

Tuesday 11 August 2009 2:51:41 am

damn it...

l guess i will have to do it the "hard" way as you propose ...

Thanx anyway !

Jey

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

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:18:37
Script start
Timing: Jan 31 2025 01:18:37
Module start 'layout'
Timing: Jan 31 2025 01:18:37
Module start 'content'
Timing: Jan 31 2025 01:18:37
Module end 'content'
Timing: Jan 31 2025 01:18:37
Script end

Main resources:

Total runtime0.0263 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.2656151.2266
Module start 'layout' 0.00510.0039 739.4922220.7188
Module start 'content' 0.00910.0156 960.2109997.8359
Module end 'content' 0.02470.0017 1,958.046933.9922
Script end 0.0263  1,992.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.7643140.0002
Check MTime0.00114.3595140.0001
Mysql Total
Database connection0.00062.380210.0006
Mysqli_queries0.00228.415830.0007
Looping result0.00000.038010.0000
Template Total0.00134.810.0013
Template load0.00103.902410.0010
Template processing0.00020.892310.0002
Override
Cache load0.00072.638110.0007
General
dbfile0.00249.240280.0003
String conversion0.00000.021740.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