Skip to content

Commit 3d94fdb

Browse files
committed
Merge PR #256 into 18.0
Signed-off-by yvaucher
2 parents 4a3b946 + a6e016e commit 3d94fdb

20 files changed

Lines changed: 952 additions & 0 deletions

auth_saml_environment/README.rst

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
======================
2+
Auth SAML environement
3+
======================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:796938aa29409152ab5821f0ea98ef74f1b7a6e9a2ee2661fa51fb2d8f71b648
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github
20+
:target: https://github.com/OCA/server-env/tree/18.0/auth_saml_environment
21+
:alt: OCA/server-env
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/server-env-18-0/server-env-18-0-auth_saml_environment
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-env&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows to use server env for SAML configuration
32+
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
37+
38+
Installation
39+
============
40+
41+
To install this module, you need to have the following modules installed
42+
and properly configured: server_environment module auth_saml
43+
44+
Configuration
45+
=============
46+
47+
To configure this module, you need to:
48+
49+
Create a module server_environment_file with a cfg file or set the
50+
environment variable SERVER_ENV_CONFIG with the following section:
51+
52+
[auth_saml_provider.<name>]
53+
54+
Where <name> is optional and must be equal to the name field you defined
55+
in Odoo for the IDP.
56+
57+
Example of configuration
58+
59+
[auth_saml_provider.my_idp]
60+
61+
idp_metadata=<...> sp_baseurl=\ https://odoo-community.org
62+
sp_pem_public_path=/data/cert.pem sp_pem_private_path=/data/key.pem
63+
64+
Usage
65+
=====
66+
67+
Once configured, Odoo will read the Auth SAML Providers values from the
68+
configuration.
69+
70+
Known issues / Roadmap
71+
======================
72+
73+
- Due to the special nature of this addon, you cannot test it on the OCA
74+
runbot.
75+
76+
Bug Tracker
77+
===========
78+
79+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-env/issues>`_.
80+
In case of trouble, please check there if your issue has already been reported.
81+
If you spotted it first, help us to smash it by providing a detailed and welcomed
82+
`feedback <https://github.com/OCA/server-env/issues/new?body=module:%20auth_saml_environment%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
83+
84+
Do not contact contributors directly about support or help with technical issues.
85+
86+
Credits
87+
=======
88+
89+
Authors
90+
-------
91+
92+
* Camptocamp
93+
94+
Contributors
95+
------------
96+
97+
- Denis Leemann <denis.leemann@camptocamp.com>
98+
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
99+
100+
Maintainers
101+
-----------
102+
103+
This module is maintained by the OCA.
104+
105+
.. image:: https://odoo-community.org/logo.png
106+
:alt: Odoo Community Association
107+
:target: https://odoo-community.org
108+
109+
OCA, or the Odoo Community Association, is a nonprofit organization whose
110+
mission is to support the collaborative development of Odoo features and
111+
promote its widespread use.
112+
113+
This module is part of the `OCA/server-env <https://github.com/OCA/server-env/tree/18.0/auth_saml_environment>`_ project on GitHub.
114+
115+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

auth_saml_environment/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2021 Camptocamp SA (http://www.camptocamp.ch)
2+
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
3+
4+
{
5+
"name": "Auth SAML environement",
6+
"summary": "Allows system administrator to authenticate with any account",
7+
"version": "18.0.1.0.0",
8+
"category": "base",
9+
"author": "Camptocamp,Odoo Community Association (OCA)",
10+
"website": "https://github.com/OCA/server-env",
11+
"license": "AGPL-3",
12+
"depends": [
13+
"auth_saml",
14+
"server_environment",
15+
],
16+
"data": [
17+
"views/saml_provider_view.xml",
18+
],
19+
"installable": True,
20+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * auth_saml_environment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: auth_saml_environment
17+
#: model:ir.model.fields,help:auth_saml_environment.field_auth_saml_provider__idp_metadata
18+
msgid ""
19+
"Configuration for this Identity Provider. Supplied by the provider, in XML "
20+
"format."
21+
msgstr ""
22+
23+
#. module: auth_saml_environment
24+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__display_name
25+
msgid "Display Name"
26+
msgstr ""
27+
28+
#. module: auth_saml_environment
29+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__id
30+
msgid "ID"
31+
msgstr ""
32+
33+
#. module: auth_saml_environment
34+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__idp_metadata
35+
msgid "Identity Provider Metadata"
36+
msgstr ""
37+
38+
#. module: auth_saml_environment
39+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider____last_update
40+
msgid "Last Modified on"
41+
msgstr ""
42+
43+
#. module: auth_saml_environment
44+
#: model:ir.model,name:auth_saml_environment.model_auth_saml_provider
45+
msgid "SAML2 Provider"
46+
msgstr ""
47+
48+
#. module: auth_saml_environment
49+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__server_env_defaults
50+
msgid "Server Env Defaults"
51+
msgstr ""
52+
53+
#. module: auth_saml_environment
54+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private
55+
msgid "Sp Pem Private"
56+
msgstr ""
57+
58+
#. module: auth_saml_environment
59+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public
60+
msgid "Sp Pem Public"
61+
msgstr ""
62+
63+
#. module: auth_saml_environment
64+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private_path
65+
msgid "sp_pem_private_path env config value"
66+
msgstr ""
67+
68+
#. module: auth_saml_environment
69+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public_path
70+
msgid "sp_pem_public_path env config value"
71+
msgstr ""

auth_saml_environment/i18n/ca.po

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * auth_saml_environment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: Automatically generated\n"
10+
"Language-Team: none\n"
11+
"Language: ca\n"
12+
"MIME-Version: 1.0\n"
13+
"Content-Type: text/plain; charset=UTF-8\n"
14+
"Content-Transfer-Encoding: \n"
15+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
16+
17+
#. module: auth_saml_environment
18+
#: model:ir.model.fields,help:auth_saml_environment.field_auth_saml_provider__idp_metadata
19+
msgid ""
20+
"Configuration for this Identity Provider. Supplied by the provider, in XML "
21+
"format."
22+
msgstr ""
23+
24+
#. module: auth_saml_environment
25+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__display_name
26+
msgid "Display Name"
27+
msgstr ""
28+
29+
#. module: auth_saml_environment
30+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__id
31+
msgid "ID"
32+
msgstr ""
33+
34+
#. module: auth_saml_environment
35+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__idp_metadata
36+
msgid "Identity Provider Metadata"
37+
msgstr ""
38+
39+
#. module: auth_saml_environment
40+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider____last_update
41+
msgid "Last Modified on"
42+
msgstr ""
43+
44+
#. module: auth_saml_environment
45+
#: model:ir.model,name:auth_saml_environment.model_auth_saml_provider
46+
msgid "SAML2 Provider"
47+
msgstr ""
48+
49+
#. module: auth_saml_environment
50+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__server_env_defaults
51+
msgid "Server Env Defaults"
52+
msgstr ""
53+
54+
#. module: auth_saml_environment
55+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private
56+
msgid "Sp Pem Private"
57+
msgstr ""
58+
59+
#. module: auth_saml_environment
60+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public
61+
msgid "Sp Pem Public"
62+
msgstr ""
63+
64+
#. module: auth_saml_environment
65+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private_path
66+
msgid "sp_pem_private_path env config value"
67+
msgstr ""
68+
69+
#. module: auth_saml_environment
70+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public_path
71+
msgid "sp_pem_public_path env config value"
72+
msgstr ""

auth_saml_environment/i18n/it.po

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * auth_saml_environment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2025-03-14 15:06+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 5.10.2\n"
18+
19+
#. module: auth_saml_environment
20+
#: model:ir.model.fields,help:auth_saml_environment.field_auth_saml_provider__idp_metadata
21+
msgid ""
22+
"Configuration for this Identity Provider. Supplied by the provider, in XML "
23+
"format."
24+
msgstr ""
25+
26+
#. module: auth_saml_environment
27+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__display_name
28+
msgid "Display Name"
29+
msgstr "Nome visualizzato"
30+
31+
#. module: auth_saml_environment
32+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__id
33+
msgid "ID"
34+
msgstr ""
35+
36+
#. module: auth_saml_environment
37+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__idp_metadata
38+
msgid "Identity Provider Metadata"
39+
msgstr ""
40+
41+
#. module: auth_saml_environment
42+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider____last_update
43+
msgid "Last Modified on"
44+
msgstr ""
45+
46+
#. module: auth_saml_environment
47+
#: model:ir.model,name:auth_saml_environment.model_auth_saml_provider
48+
msgid "SAML2 Provider"
49+
msgstr ""
50+
51+
#. module: auth_saml_environment
52+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__server_env_defaults
53+
msgid "Server Env Defaults"
54+
msgstr ""
55+
56+
#. module: auth_saml_environment
57+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private
58+
msgid "Sp Pem Private"
59+
msgstr ""
60+
61+
#. module: auth_saml_environment
62+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public
63+
msgid "Sp Pem Public"
64+
msgstr ""
65+
66+
#. module: auth_saml_environment
67+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_private_path
68+
msgid "sp_pem_private_path env config value"
69+
msgstr ""
70+
71+
#. module: auth_saml_environment
72+
#: model:ir.model.fields,field_description:auth_saml_environment.field_auth_saml_provider__sp_pem_public_path
73+
msgid "sp_pem_public_path env config value"
74+
msgstr ""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import auth_saml_provider

0 commit comments

Comments
 (0)