TIP: You can type at any time to perform a new search.
Assign roles via HTTP Header
auth_from_http_remote_user_role · OCA/server-auth
Security findings
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. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/server-auth · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-auth
- Last tracking update
- 2026-10-03 22:30:51
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Guewen Baconnier, OCA-git-bot, oca-travis
Code Analysis
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