-
-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] password_security: pre-commit stuff
- Loading branch information
ilyas caluwe
committed
Jan 31, 2024
1 parent
f9dd7d9
commit 588d315
Showing
10 changed files
with
104 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,28 +17,28 @@ Password Security | |
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github | ||
:target: https://github.com/OCA/server-auth/tree/16.0/password_security | ||
:target: https://github.com/OCA/server-auth/tree/17.0/password_security | ||
:alt: OCA/server-auth | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-password_security | ||
:target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-password_security | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=16.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows admin to set company-level password security requirements | ||
and enforces them on the user. | ||
This module allows admin to set company-level password security | ||
requirements and enforces them on the user. | ||
|
||
It contains features such as | ||
|
||
* Password expiration days | ||
* Password length requirement | ||
* Password minimum number of lowercase letters | ||
* Password minimum number of uppercase letters | ||
* Password minimum number of numbers | ||
* Password minimum number of special characters | ||
- Password expiration days | ||
- Password length requirement | ||
- Password minimum number of lowercase letters | ||
- Password minimum number of uppercase letters | ||
- Password minimum number of numbers | ||
- Password minimum number of special characters | ||
|
||
**Table of contents** | ||
|
||
|
@@ -48,51 +48,39 @@ It contains features such as | |
Configuration | ||
============= | ||
|
||
Navigate to General Settings under Configuration | ||
Scroll down to the ``Password Policy`` section | ||
Set the policies to your liking. | ||
Navigate to General Settings under Configuration Scroll down to the | ||
``Password Policy`` section Set the policies to your liking. | ||
|
||
Password complexity requirements will be enforced upon next password change for | ||
any user in that company. | ||
Password complexity requirements will be enforced upon next password | ||
change for any user in that company. | ||
|
||
**Settings & Defaults** | ||
|
||
These are defined at the company level: | ||
|
||
===================== ======= =================================================== | ||
Name Default Description | ||
===================== ======= =================================================== | ||
password_expiration 60 Days until passwords expire | ||
password_length 12 Minimum number of characters in password | ||
password_lower 0 Minimum number of lowercase letter in password | ||
password_upper 0 Minimum number of uppercase letters in password | ||
password_numeric 0 Minimum number of number in password | ||
password_special 0 Minimum number of unique special character in password | ||
password_history 30 Disallow reuse of this many previous passwords | ||
password_minimum 24 Amount of hours that must pass until another reset | ||
===================== ======= =================================================== | ||
[TABLE] | ||
|
||
Usage | ||
===== | ||
|
||
Configure using above instructions for each company that should have password | ||
security mandates. | ||
Configure using above instructions for each company that should have | ||
password security mandates. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20password_security%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20password_security%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
------- | ||
|
||
* LasLabs | ||
* Onestein | ||
|
@@ -102,26 +90,33 @@ Authors | |
* Omar Nasr | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
------------ | ||
|
||
* James Foster <[email protected]> | ||
* Dave Lasley <[email protected]> | ||
* Kaushal Prajapati <[email protected]> | ||
* Petar Najman <[email protected]> | ||
* Shepilov Vladislav <[email protected]> | ||
* Florian Kantelberg <[email protected]> | ||
* Dhara Solanki <[email protected]> | ||
- James Foster <[email protected]> | ||
|
||
* `Open Source Integrators <https://opensourceintegrators.com>`_ | ||
- Dave Lasley <dave@laslabs.com> | ||
|
||
* Chandresh Thakkar <[email protected]> | ||
* Daniel Reis <[email protected]> | ||
- Kaushal Prajapati <[email protected]> | ||
|
||
* `Onestein <https://www.onestein.nl>`_: | ||
* Andrea Stirpe <[email protected]> | ||
- Petar Najman <[email protected]> | ||
|
||
- Shepilov Vladislav <[email protected]> | ||
|
||
- Florian Kantelberg <[email protected]> | ||
|
||
- Dhara Solanki <[email protected]> | ||
|
||
- `Open Source Integrators <https://opensourceintegrators.com>`__ | ||
|
||
- Chandresh Thakkar <[email protected]> | ||
- Daniel Reis <[email protected]> | ||
|
||
- `Onestein <https://www.onestein.nl>`__: | ||
|
||
- Andrea Stirpe <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
|
@@ -133,6 +128,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose | |
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/16.0/password_security>`_ project on GitHub. | ||
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/17.0/password_security>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Navigate to General Settings under Configuration Scroll down to the | ||
`Password Policy` section Set the policies to your liking. | ||
|
||
Password complexity requirements will be enforced upon next password | ||
change for any user in that company. | ||
|
||
**Settings & Defaults** | ||
|
||
These are defined at the company level: | ||
|
||
[TABLE] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- James Foster \<<[email protected]>\> | ||
|
||
- Dave Lasley \<<[email protected]>\> | ||
|
||
- Kaushal Prajapati \<<[email protected]>\> | ||
|
||
- Petar Najman \<<[email protected]>\> | ||
|
||
- Shepilov Vladislav \<<[email protected]>\> | ||
|
||
- Florian Kantelberg \<<[email protected]>\> | ||
|
||
- Dhara Solanki \<<[email protected]>\> | ||
|
||
- [Open Source Integrators](https://opensourceintegrators.com) | ||
|
||
> - Chandresh Thakkar \<<[email protected]>\> | ||
> - Daniel Reis \<<[email protected]>\> | ||
- [Onestein](https://www.onestein.nl): | ||
- Andrea Stirpe \<<[email protected]>\> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This module allows admin to set company-level password security | ||
requirements and enforces them on the user. | ||
|
||
It contains features such as | ||
|
||
- Password expiration days | ||
- Password length requirement | ||
- Password minimum number of lowercase letters | ||
- Password minimum number of uppercase letters | ||
- Password minimum number of numbers | ||
- Password minimum number of special characters |
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
password_security/readme/USAGE.rst → password_security/readme/USAGE.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Configure using above instructions for each company that should have password | ||
security mandates. | ||
Configure using above instructions for each company that should have | ||
password security mandates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters