forked from OCA/server-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OCA#706 from OCA/11.0
Syncing from upstream OCA/server-tools (11.0)
- Loading branch information
Showing
28 changed files
with
1,787 additions
and
1 deletion.
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 |
---|---|---|
@@ -1 +1 @@ | ||
11.0.20200404.0 | ||
11.0.20210312.0 |
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
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 @@ | ||
../../../../users_ldap_groups |
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,2 @@ | ||
[bdist_wheel] | ||
universal=1 |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
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,89 @@ | ||
====================== | ||
LDAP groups assignment | ||
====================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github | ||
:target: https://github.com/OCA/server-tools/tree/11.0/users_ldap_groups | ||
:alt: OCA/server-tools | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-users_ldap_groups | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/149/11.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Adds user accounts to groups based on rules defined by the administrator. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
Define mappings in Settings / General Settings / LDAP Parameters | ||
|
||
Decide whether you want only groups mapped from ldap (`Only ldap groups` checked) or a mix of manually set groups and ldap groups (`Only ldap groups` unchecked). Setting this to 'no' will result in users never losing privileges when you remove them from a ldap group, so that's a potential security issue. It is still the default to prevent losing group information by accident. | ||
|
||
For active directory, use LDAP attribute 'memberOf' and operator 'contains'. Fill in the DN of the windows group as value and choose an Odoo group users with this windows group are to be assigned to. | ||
|
||
For posix accounts, use operator 'query' and a value like:: | ||
|
||
(&(cn=bzr)(objectClass=posixGroup)(memberUid=$uid)) | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20users_ldap_groups%0Aversion:%2011.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 | ||
~~~~~~~ | ||
|
||
* initOS GmbH | ||
* Therp BV | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Dhara Solanki <[email protected]> | ||
* Holger Brunn <[email protected]> | ||
* Giacomo Spettoli <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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-tools <https://github.com/OCA/server-tools/tree/11.0/users_ldap_groups>`_ 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 @@ | ||
# Copyright 2012-2018 Therp BV <https://therp.nl> | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
from . import models |
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 @@ | ||
# Copyright 2020 initOS GmbH | ||
# Copyright 2012-2018 Therp BV <https://therp.nl> | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "LDAP groups assignment", | ||
"version": "11.0.1.0.0", | ||
"depends": ["auth_ldap"], | ||
"author": "initOS GmbH, Therp BV, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/server-tools", | ||
"license": "AGPL-3", | ||
"summary": "Adds user accounts to groups based on rules defined " | ||
"by the administrator.", | ||
"category": "Authentication", | ||
"data": [ | ||
'views/base_config_settings.xml', | ||
'security/ir.model.access.csv', | ||
], | ||
"external_dependencies": { | ||
'python': ['ldap'], | ||
}, | ||
} |
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,157 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * users_ldap_groups | ||
# | ||
# Translators: | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: server-tools (8.0)\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-09-29 11:14+0000\n" | ||
"PO-Revision-Date: 2015-09-18 13:56+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/" | ||
"language/de/)\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_create_uid | ||
msgid "Created by" | ||
msgstr "Erstellt von" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_create_date | ||
msgid "Created on" | ||
msgstr "Erstellt am:" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_group_mapping_ids | ||
msgid "Define how Odoo groups are assigned to ldap users" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model,name:users_ldap_groups.model_res_company_ldap_operator | ||
msgid "Definition op LDAP operations" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_display_name | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_operator_display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_ids | ||
msgid "Group mappings" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_id | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_operator_id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_only_ldap_groups | ||
msgid "" | ||
"If this is checked, manual changes to group membership are undone on every " | ||
"login (so Odoo groups are always synchronous with LDAP groups). If not, " | ||
"manually added groups are preserved." | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_ldap_attribute | ||
msgid "LDAP attribute" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_ldap_id | ||
msgid "LDAP server" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping___last_update | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_operator___last_update | ||
#, fuzzy | ||
msgid "Last Modified on" | ||
msgstr "Zuletzt aktualisiert am" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_write_uid | ||
msgid "Last Updated by" | ||
msgstr "Zuletzt aktualisiert von" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_write_date | ||
msgid "Last Updated on" | ||
msgstr "Zuletzt aktualisiert am" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.ui.view,arch_db:users_ldap_groups.company_form_view | ||
msgid "Map User Groups" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_group_id | ||
msgid "Odoo group" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_only_ldap_groups | ||
msgid "Only ldap groups" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_operator | ||
msgid "Operator" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_group_mapping_ldap_attribute | ||
msgid "" | ||
"The LDAP attribute to check.\n" | ||
"For active directory, use memberOf." | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_group_mapping_group_id | ||
msgid "The Odoo group to assign" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_group_mapping_operator | ||
msgid "" | ||
"The operator to check the attribute against the value\n" | ||
"For active directory, use 'contains'" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,help:users_ldap_groups.field_res_company_ldap_group_mapping_value | ||
msgid "" | ||
"The value to check the attribute against.\n" | ||
"For active directory, use the dn of the desired group" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model,name:users_ldap_groups.model_res_users | ||
msgid "Users" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model.fields,field_description:users_ldap_groups.field_res_company_ldap_group_mapping_value | ||
msgid "Value" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model,name:users_ldap_groups.model_res_company_ldap | ||
msgid "res.company.ldap" | ||
msgstr "" | ||
|
||
#. module: users_ldap_groups | ||
#: model:ir.model,name:users_ldap_groups.model_res_company_ldap_group_mapping | ||
msgid "res.company.ldap.group_mapping" | ||
msgstr "" |
Oops, something went wrong.