latos / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Suggestion: Allow users/admin to change passwords #162

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This issue is result of discussion at: 
http://groups.google.com/group/wave-protocol/browse_thread/thread/1a1855f2391d84
20

I suggest to implement password reset functionality via robot 
(services@yourdomain.com) that runs on the wiab server. The robot is be passed 
Injector instance into constructor so it will have access to wiab server 
objects (including accountsStore) 
The password reset module will be exposed as robot proxy i.e. services 
+passre...@yourdomain.com 
If added to a wave it will allow to reset passwords via command line 
like syntax (using CLI http://commons.apache.org/cli/) 
The implementation also adds some abstraction layer to allow  easy 
plugin of more admin modules as robot proxies. 

Here is the link to the patch: (first version)
http://code.google.com/r/vega113-admin-proxies/source/detail?r=1b99530b27db78210
3557511671fbc7c850de947

It works like this:
to change your own password
-add services+upassreset@yourdomain.com to the wave
-for help type: upassreset -help (and hit enter)
-to change password type: upassreset old_password new_password (and hit enter)

to change other user password:
-login as admin@yourdomain.com
-add services+apassreset@yourdomain.com to the wave
-to change password type: apassreset user_id new_password (and hit enter)

Original issue reported on code.google.com by vega113 on 24 Nov 2010 at 9:26

GoogleCodeExporter commented 8 years ago
Just out of curiosity how do people who can't sign in reset their passwords?

Original comment by JamesRPu...@gmail.com on 25 Nov 2010 at 10:54

GoogleCodeExporter commented 8 years ago
I think they should ask admin to reset the password for them. However, if they 
can sign in - then they can change their password on their own.

Original comment by vega113 on 25 Nov 2010 at 11:21

GoogleCodeExporter commented 8 years ago

Original comment by vega113 on 19 Apr 2011 at 4:47