Assign roles found in the HTTP header, to the connected user
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.
Install this module like any other module.
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.
Known issues / Roadmap
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.
- Odoo Community Association: Icon.
- Thierry Ducrest <firstname.lastname@example.org>
Do not contact contributors directly about support or help with technical issues.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo11_addon_auth_from_http_remote_user_role-188.8.131.52.0.99.dev5-py2.py3-none-any.whl (20.2 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View hashes|
Hashes for odoo11_addon_auth_from_http_remote_user_role-184.108.40.206.0.99.dev5-py2.py3-none-any.whl