-
-
Notifications
You must be signed in to change notification settings - Fork 492
[12.0][MIG+REF] auth_admin_passkey #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[12.0][MIG+REF] auth_admin_passkey #126
Conversation
…o login with any login and his password.
…ion if user_id == SUPERUSER_ID. (Courtesy of Stefan Rijnhart).
…s the same password as the admin user, sending a mail to admin user.
… installation of modules 'auth_admin_passkey' and 'auth_crypt'. (Courtesy of Stefan Rijnhart).
…xxx'] [REF] res_users.py : same call to self.pool in other res_users class.
In order to get visibility on https://www.odoo.com/apps the OCA board has decided to add the OCA as author of all the addons maintained as part of the association.
this fixes an issue reported on Transifex
Remove authenticate as check_credentials is dedicated for this purpose. Removed mail translations maybe possible in some way ? Give some space to the code Make the addon compliant to OCA guidelines Adapt readme to new template and compress header in tests Make the addon a python package NOTE: authenticate() method cannot be used in tests because a new cr is created in _login method that does not contains our user. Signed-off-by: Eugen Don <eugen.don@don-systems.de>
… user email. If a normal user and the administrator have the same password, an AccessError is raised (email of the admin account can not be read) and no security alert is sent by email
* [FIX] AccessError sending mail
Currently translated at 90.9% (10 of 11 strings) Translation: server-tools-10.0/server-tools-10.0-auth_admin_passkey Translate-URL: https://translation.odoo-community.org/projects/server-tools-10-0/server-tools-10-0-auth_admin_passkey/pt/
[REF+IMP] move configuration for ir.config.parameter to odoo.cfg files, ref : OCA#21 So : - It's more GDPR compatible, because only system administrators that have already a full DB access can enable and use this feature - It's easier to have different settings, according to server env [REF] OCA convention (readme files, etc...)
rafaelbn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work @legalsylvain
|
Tested... 👍 . Thx for the work @legalsylvain |
|
Thanks for the reviews, guys. |
|
/ocabot merge |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at d55341b. Thanks a lot for contributing to OCA. ❤️ |
Syncing from upstream OCA/server-auth (12.0)
Port
auth_admin_passkeyfrom 10.0 to 12.0Main changes
odoo.cfgconfig file, and not byir.config.parametersettings. (more secure, more GDPR, and more simple code). Ref.CC : @pedrobaeza, @alexis-via, @rvalyi, @eugen-don, @rafaelbn
One question to @Fenkiou
You introduced the following code in that commit (PR to port the module in V10). I did'nt get this part. (I keep it, but I don't see it necessary).