Forums / Developer / How to appear as a different user

How to appear as a different user

Author Message

Eirik Alfstad Johansen

Friday 15 April 2005 1:55:52 am

Hi,

I remember reading something about this a while back, but I can't seem to relocate the thread.

The issue is as follows: An admin wants to be able to appear as another user (in essence, logging in as that user without providing a password) in order to perform certain tasks as that user.

Can anyone point me to the thread where this was discussed or, even better, let me know if anyone has accomplished something like this.

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Arran Price

Sunday 17 April 2005 2:53:06 pm

Hi Erik,
http://www.ez.no/community/forum/suggestions/user_change_modul_similar_to_the_su_command_under_linux
is possibly what you remember.
Looks to be an old suggestion and I havent seen any reference of it actually implemented.

Arran

Eirik Alfstad Johansen

Monday 18 April 2005 1:48:42 am

Thanks for the tip, Arran!

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

eZ debug

Timing: Jan 19 2025 07:14:58
Script start
Timing: Jan 19 2025 07:14:58
Module start 'content'
Timing: Jan 19 2025 07:14:58
Module end 'content'
Timing: Jan 19 2025 07:14:58
Script end

Main resources:

Total runtime0.0145 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 590.5938180.8281
Module start 'content' 0.00530.0040 771.421993.8828
Module end 'content' 0.00930.0052 865.304770.7031
Script end 0.0145  936.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002214.9982120.0002
Check MTime0.00106.6871120.0001
Mysql Total
Database connection0.00074.998810.0007
Mysqli_queries0.002617.927540.0007
Looping result0.00000.083820.0000
Template Total0.004933.810.0049
Template load0.00085.605410.0008
Template processing0.004128.184910.0041
Override
Cache load0.00064.075010.0006
General
dbfile0.00053.2564100.0000
String conversion0.00000.027930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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