access denied when change password in preference

Bug #693474 reported by tfr (Openerp)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
In Progress
Low
OpenERP sa GTK client R&D

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

Related branches

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This was becuase the next call made to the server was with the old password.

This has been improved @lp:~openerp-dev/openobject-client/trunk-dev-client with revision info as 1412 <email address hidden> and will be merged soon to the trunk client.

Thanks,

Changed in openobject-client:
status: Confirmed → In Progress
status: In Progress → Fix Released
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

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
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hi,

Thanks for the suggestion but we cannot hardcode it ,
after the discussion with the experts rather we are in progress of implementing a better solution.

Thanks,

Changed in openobject-client:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.