Assign roles found in the HTTP header, to the connected user
Project description
User Role From HTTP Header
This module extends the functionality of auth_from_http_remote_user as well as base_user_role. It gives the possibility when the authentication of the remote user has been successful, to assign roles to the new authenticated user, based on the content of the HTTP header field HTTP_REMOTE_ROLE.
Installation
Install this module like any other module.
Configuration
When the module auth_from_http_remote_user is installed and working. You need to tweak the HTTP header the same way by adding a field HTTP_REMOTE_ROLE. This field must contain the codes referencing the pre defined user roles that will be assigned to the user. It can contain multiple codes separated by a comma.
Those codes can be assigned to preconfigured user roles directly on ther edition page.
Usage
Known issues / Roadmap
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.
Credits
Images
Odoo Community Association: Icon.
Contributors
Thierry Ducrest <thierry.ducrest@camptocamp.com>
Do not contact contributors directly about support or help with technical issues.
Maintainer
This module is maintained by the OCA.
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.
To contribute to this module, please visit https://odoo-community.org.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo11_addon_auth_from_http_remote_user_role-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_auth_from_http_remote_user_role-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7a2b9c99f27a3f2da55b99fa99887bf362b901d3efdd162ee9ce81e4434ee1 |
|
MD5 | 95f55e36c824a979a62464a4a47c92ad |
|
BLAKE2b-256 | c6d0e6447d5b4af01db4c86cdf156fc4951642d9c8a55568e4ed00b58c518d6f |