c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10418
[Bug 693474] Re: access denied when change password in preference
This still occurs when connected with XMLRPC.
Possible solution is:
1. Trap the object change.user.password(as we do for res.users,as these are 2 special cases)
2. Pass a context when calling button : <button colspan="1" icon="gtk-ok" name="change_password" string="Change" type="object" context="{'change_password':confirm_password}"/>
3. Interrupt the rpc_exec_auth() and trap the args if the object is change.user.password and change gw_inter._passwd to be the new password.
More Investigation can help getting more suitable solutions.
** Changed in: openobject-client
Status: Fix Released => Confirmed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/693474
Title:
access denied when change password in preference
Status in OpenObject GTK Client:
Confirmed
Bug description:
When the user go in preferences and change his own password => ok
the error acces denied raise.
Not really userfriendly
2 solution
Give a more userfriendly message like : "you've changed your password please restart the client"
or take the change into account and use the new password for the resquest
References