Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ addon | version | maintainers | summary
[cross_connect_client](cross_connect_client/) | 18.0.1.0.0 | <a href='https://github.com/paradoxxxzero'><img src='https://github.com/paradoxxxzero.png' width='32' height='32' style='border-radius:50%;' alt='paradoxxxzero'/></a> | Cross Connect Client allows to connect to a Cross Connect Server enabled odoo instance.
[cross_connect_server](cross_connect_server/) | 18.0.1.0.0 | <a href='https://github.com/paradoxxxzero'><img src='https://github.com/paradoxxxzero.png' width='32' height='32' style='border-radius:50%;' alt='paradoxxxzero'/></a> | Cross Connect Server allows Cross Connect Client to connect to it.
[impersonate_login](impersonate_login/) | 18.0.1.1.2 | <a href='https://github.com/Kev-Roche'><img src='https://github.com/Kev-Roche.png' width='32' height='32' style='border-radius:50%;' alt='Kev-Roche'/></a> | tools
[password_security](password_security/) | 18.0.1.0.0 | | Allow admin to set password security requirements.
[password_security](password_security/) | 18.0.1.0.1 | | Allow admin to set password security requirements.
[user_log_view](user_log_view/) | 18.0.1.0.0 | <a href='https://github.com/trojikman'><img src='https://github.com/trojikman.png' width='32' height='32' style='border-radius:50%;' alt='trojikman'/></a> | Allow to see user's actions log
[users_ldap_mail](users_ldap_mail/) | 18.0.1.0.0 | <a href='https://github.com/joao-p-marques'><img src='https://github.com/joao-p-marques.png' width='32' height='32' style='border-radius:50%;' alt='joao-p-marques'/></a> | LDAP mapping for user name and e-mail
[vault](vault/) | 18.0.1.0.5 | | Password vault integration in Odoo
[vault](vault/) | 18.0.1.0.6 | | Password vault integration in Odoo
[vault_share](vault_share/) | 18.0.1.0.0 | | Implementation of a mechanism to share secrets

[//]: # (end addons)
Expand Down
2 changes: 1 addition & 1 deletion password_security/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Password Security
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cb2e7adb9bb3013bc69c718c2e113f49b4cfa22dbef9264db9e3cec14fb819e7
!! source digest: sha256:206f43f4d3acd323ae12e847bbddf69684f11c2964ce06c5903cdfa8cdda0a19
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion password_security/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Password Security",
"summary": "Allow admin to set password security requirements.",
"version": "18.0.1.0.0",
"version": "18.0.1.0.1",
"author": "LasLabs, "
"Onestein, "
"Kaushal Prajapati, "
Expand Down
8 changes: 5 additions & 3 deletions password_security/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,13 @@ def _check_password_history(self, password):
pwd_params = self._get_all_password_params()
for user in self:
if not pwd_params["history"]: # disabled
recent_passes = self.env["res.users.pass.history"]
recent_passes = self.sudo().env["res.users.pass.history"]
elif pwd_params["history"] < 0: # unlimited
recent_passes = user.password_history_ids
recent_passes = user.sudo().password_history_ids
else:
recent_passes = user.password_history_ids[: pwd_params["history"]]
recent_passes = user.sudo().password_history_ids[
: pwd_params["history"]
]
if recent_passes.filtered(
lambda r: crypt.verify(password, r.password_crypt)
):
Expand Down
2 changes: 1 addition & 1 deletion password_security/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Password Security</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cb2e7adb9bb3013bc69c718c2e113f49b4cfa22dbef9264db9e3cec14fb819e7
!! source digest: sha256:206f43f4d3acd323ae12e847bbddf69684f11c2964ce06c5903cdfa8cdda0a19
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/18.0/password_security"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-password_security"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows admin to set company-level password security
Expand Down
2 changes: 1 addition & 1 deletion vault/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Vault
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cd6fbe00ed61e7b27563a46609de0beae916f3bf603cec979e5176ebdc7628bb
!! source digest: sha256:a0f7e4a00b4b5a100334bc02018711e2c0156aa25704abd2ec07b70772ff03d6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion vault/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Vault",
"summary": "Password vault integration in Odoo",
"license": "AGPL-3",
"version": "18.0.1.0.5",
"version": "18.0.1.0.6",
"website": "https://github.com/OCA/server-auth",
"application": True,
"author": "initOS GmbH, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion vault/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Vault</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cd6fbe00ed61e7b27563a46609de0beae916f3bf603cec979e5176ebdc7628bb
!! source digest: sha256:a0f7e4a00b4b5a100334bc02018711e2c0156aa25704abd2ec07b70772ff03d6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/18.0/vault"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-vault"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module implements a vault for secrets and files using
Expand Down
10 changes: 8 additions & 2 deletions vault/views/vault_right_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
<field name="master_key" column_invisible="1" />
<field name="key" column_invisible="1" />
<field name="public_key" column_invisible="1" />
<field name="user_id" />
<field
name="user_id"
options="{'no_create': True, 'no_quick_create': True, 'no_create_edit': True}"
/>
<field name="perm_create" />
<field name="perm_write" />
<field name="perm_share" />
Expand All @@ -23,7 +26,10 @@
<form>
<sheet>
<group>
<field name="user_id" />
<field
name="user_id"
options="{'no_create': True, 'no_quick_create': True, 'no_create_edit': True}"
/>
<field name="perm_create" />
<field name="perm_write" />
<field name="perm_share" />
Expand Down
Loading