Document Page Access Group User Role
Use of roles (module base_user_role) in Document Pages.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you grant access to a Document Page by selecting user roles instead of individual users. All users belonging to the selected roles are automatically added to the page's allowed users.
This module extends Document Pages so that access can be managed through roles (from the base_user_role module) rather than only by picking individual users.
On the Document Page form, a new "Roles" section appears before the users group. It is only visible to users with the ERP manager group and is hidden when the page is restricted by groups. There you can add one or more roles; each role shows its name and comment.
When you select roles, the module automatically computes the page's allowed users: every user who belongs to any of the selected roles is added to the page's user list. This computation runs whenever the roles change or when the users inside those roles change, so access stays in sync without manual work.
- Adds a
role_idsfield (Roles) ondocument.page. - Recomputes the existing
user_idsfield from the users of the selected roles. - The Roles block is restricted to ERP managers and hidden when group-based access is used.
It touches the Document Page model and its form view, and relies on the role model res.users.role.
Depends on
Models and fields (1)
- document.page · extends an existing modelrole_ids (Roles), user_ids
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/knowledge.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- Go to Settings / Users & Companies / Roles and create a new one.
- Go to Knowledge / Pages and create or edit one.
- Set in the "Roles" tab the one we have just created.
- Go back to the role, edit it and add any group(s).
- The role users will have been added in the "Security" tab.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.