TIP: You can type at any time to perform a new search.
LDAP groups assignment
users_ldap_groups · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Authentication
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 07:24:58
- Authors
- Odoo Community Association (OCA), Therp BV, initOS GmbH
- Maintainers
- Odoo Community Association (OCA), Therp BV, initOS GmbH
- Committers
- OCA Transbot, OCA-git-bot, oca-travis, Tom Blauwendraat, dsolanki
- Odoo dependencies
- Python dependencies
- python-ldap
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | form | Inherits auth_ldap.view_ldap_installer_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
group_mapping_idsOne2many → res.company.ldap.group_mappinghelp='Define how Odoo groups are assigned to ldap users' args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings' -
only_ldap_groupsBooleandefault=Falsehelp='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.' args: 'Only ldap groups'
-
get_or_create_user(self, conf, login, ldap_entry)@api.model
New fields (5)
-
group_idMany2one → res.groupshelp='The Odoo group to assign'oldname='group'required=True args: 'res.groups', 'Odoo group' -
ldap_attributeCharhelp='The LDAP attribute to check.\nFor active directory, use memberOf.' args: 'LDAP attribute' -
ldap_idMany2one → res.company.ldapondelete='cascade'required=True args: 'res.company.ldap', 'LDAP server' -
operatorSelectionhelp="The operator to check the attribute against the value\nFor active directory, use 'contains'"required=True args: <expr>, 'Operator' -
valueCharhelp='The value to check the attribute against.\nFor active directory, use the dn of the desired group'required=True args: 'Value'
No public methods.
New fields (0)
No new fields.
Public methods (4)-
contains(self, ldap_entry, mapping)@api.model -
equals(self, ldap_entry, mapping) -
operators(self)@api.modelReturn names of function to call on this model as operator -
query(self, ldap_entry, mapping)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…