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
[IMP] admin sys config: onprem password reset #8990
Conversation
I'm sorry this PR took so long to get posted; when you have a moment, can you review it for accuracy? Thanks, |
Can you review this change when you have a moment? Lines: 603-702 Thanks! Tim 👍 |
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.
Thanks for the pr but it’s a bit odd how it’s constructed. In both "from GUI" and "from command line", you need to edit the file first. I would change it to :
- how to locate/edit configuration file
- how to generate a new password from gui
- how to generate a new password from command line
f9390a6
to
3e11c99
Compare
The configuration file is edited differently (via GUI and CLI) in each reset situation, so I'm leaving each process complete in each section as it stands. Can you confirm the path: /etc/odoo.conf is correct? Thanks, |
I think there is some misunderstanding. Let me clarify how it works but first, the way you advise is not ideal as unsecure. Your instructions are:
The issue with that is that between 2 and 3, the database is unprotected, this can be dangerous depending on the scenario. Instead a better way would be :
So to proceed, I would go like: 1. locate the configuration file
2. Change the old password
3. restart the odoo server 4. Use the web interface
The step 4 is important because the server will hash your password and can not be read. As you can see, the way you edit the file is not really important. It’s just the choice of the user if they want to use gedit, emacs, nano or whatever editor they are familliar with, no need to make a different section for it. Also, I would add a reference to the database manager security doc page where we strongly recommend to disable the database manager in production. I hope it clarifies. |
3e11c99
to
366aa34
Compare
This doc is ready for your review when you have a moment. Lines 603-740 Thanks for your time on this. Tim 👍 |
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.
@tiku-odoo I've finished my review of the requested lines in this doc - great job! I'm approving with suggestions for you to accept/reject as you see fit. Let me know if you have any questions, thanks!
366aa34
to
70cf52c
Compare
This script is ready for your review when you have a moment. Thanks 👍 Tim |
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.
Hey @tiku-odoo -- just finished my Final Review. Nice job! Approving now. Once you address all my comments, and implement the necessary changes, feel free to tag this for Tech Review. Thanks! 👍
This doc is ready for your tech review when you have a moment. Thanks Tim |
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.
Hi @tiku-odoo, just a quick suggestion and before I give a full technical review can you please squash the commits in this PR? Thank you!
50d9979
to
f47f292
Compare
Sorry about that. I've squashed the commits, and now it's ready for your review. Thanks, |
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.
Hi @tiku-odoo, great work on this PR! This is a very thorough and important addition to the System configuration documentation. Everything looks good to me, with one small suggestion for specificity. Please see below. Approving and delegating merge to you 👍
...
@robodoo delegate=tiku-odoo
f47f292
to
b54021e
Compare
b54021e
to
fdc2cd6
Compare
@robodoo r+ |
closes #8990 Signed-off-by: Timothy Kukulka (tiku) <tiku@odoo.com>
Task: https://www.odoo.com/web#id=2230148&cids=3&menu_id=4720&action=333&active_id=3835&model=project.task&view_type=form