Assign roles via HTTP Header
auth_from_http_remote_user_role · OCA/server-auth
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 92 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.02 MB
Module directory on disk
Code analysis
1 migration note
3 models
2 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `SELECT * FROM res_users WHERE id = %s FOR UPDATE NOWAIT` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_res_users_role_form_http_auth |
view.res.users.role.form.http.auth | res.users.role | form | Inherits base_user_role.view_res_users_role_form |
view_res_users_role_tree_http_auth |
view.res.users.role.tree.http.auth | res.users.role | tree | Inherits base_user_role.view_res_users_role_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
last_http_header_rolesCharstring='Last HTTP header roles'
No public methods.
New fields (1)
-
user_role_codeCharstring='HTTP header code'
-
change_roles_remote_user(self, env, user_id, new_roles)@api.modelChange the roles of the user with id user_id