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
odoo/odoo:
- web
Python dependencies
python-ldap
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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_ids One2many → res.company.ldap.group_mapping
    help='Define how Odoo groups are assigned to ldap users' args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
  • only_ldap_groups Boolean
    default=False help='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'
Public methods (1)
  • get_or_create_user(self, conf, login, ldap_entry)
    @api.model

New fields (5)
  • group_id Many2one → res.groups
    help='The Odoo group to assign' oldname='group' required=True args: 'res.groups', 'Odoo group'
  • ldap_attribute Char
    help='The LDAP attribute to check.\nFor active directory, use memberOf.' args: 'LDAP attribute'
  • ldap_id Many2one → res.company.ldap
    ondelete='cascade' required=True args: 'res.company.ldap', 'LDAP server'
  • operator Selection
    help="The operator to check the attribute against the value\nFor active directory, use 'contains'" required=True args: <expr>, 'Operator'
  • value Char
    help='The value to check the attribute against.\nFor active directory, use the dn of the desired group' required=True args: 'Value'
Public methods (0)

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.model
    Return 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…