mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/base_site_config.git
synced 2026-03-11 02:37:40 -03:00
Cada arquivo em config/optional/ agora declara suas dependências corretamente, permitindo que o Drupal aplique as configs na ordem certa independentemente da ordem de instalação dos módulos. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
dependencies:
|
|
module:
|
|
- ldap_departments_sync
|
|
config:
|
|
- ldap_servers.server.ldap_ime_unicamp_br
|
|
- ldap_query.ldap_query_entity.department_sync
|
|
ldap_server_id: ldap_ime_unicamp_br
|
|
ldap_query_id: department_sync
|
|
enable_hierarchy: 1
|
|
parent_attribute: departmentNumber
|
|
child_attribute: imeccDepartmentCode
|
|
group_type_id: departments
|
|
attribute_mappings:
|
|
-
|
|
field: label
|
|
attribute: description
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_code
|
|
attribute: imeccDepartmentCode
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_acronym
|
|
attribute: cn
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_type
|
|
attribute: imeccDepartmentType
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_phone
|
|
attribute: telephoneNumber
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_room
|
|
attribute: roomNumber
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_mail
|
|
attribute: mail
|
|
mapping_type: simple
|
|
-
|
|
field: field_dept_coord
|
|
attribute: imeccDepartmentCoord
|
|
mapping_type: user_reference
|
|
-
|
|
field: field_dept_coord_assoc
|
|
attribute: imeccDepartmentAssocCoord
|
|
mapping_type: user_reference
|
|
role_mapping_enabled: 1
|
|
role_mappings:
|
|
-
|
|
group_role: departments-member
|
|
source: group_field_match
|
|
source_field: field_user_dept_code
|
|
group_field: field_dept_code
|
|
values: { }
|
|
sync_users: 1
|
|
access_rules:
|
|
-
|
|
label: null
|
|
entity_type: null
|
|
bundle: ''
|
|
operations: { }
|
|
mode: restrictive
|
|
memberships: { }
|
|
field_conditions: { }
|
|
enabled: false
|