PartnerID ↔ CustomerID¶
Use this screen to manage mappings between partners and customers. The management screen is available in the PartnerID ↔ CustomerID module of the Users, Groups & Roles group.
Manage PartnerID ↔ CustomerID Relations¶
Note
It is necessary to setup the LDAP server configuration in the system configuration.
To setup the LDAP server configuration:
- Go to the System Configuration screen.
- Select OTRSRestrictCustomerDataView in the Navigation widget.
- Navigate to Core → LDAP in the navigation tree.
- Set the parameters for the LDAP connection.
If the LDAP server can be reached, the customer_id
relations to the partner_id
which is pulled from the LDAP server, will be stored in the database tables which are configured in
the PartnerIDMapping
section within the system configuration.
To see the PartnerIDMapping
settings:
- Go to the System Configuration screen.
- Select OTRSRestrictCustomerDataView in the Navigation widget.
- Navigate to Core → PartnerIDMapping in the navigation tree.
- See the settings.
Following the relations stored in the mapping tables, access to data of certain customers is restricted for agents which have a partner ID and relations in the database. Those agents can only see customers witch have customer IDs that are allowed in the database.
If a partner ID of an agent is stored in the database, but no related customer IDs are assigned, the agent wont be able to see any customer information. Agents with no given partner ID will still be able to see every customer data.
If the LDAP server configuration and the partner ID mapping is properly set, you can proceed with the management screen.
To create a new mapping:
- Click on the Add mapping button in the left sidebar.
- Add a partner ID into the first field.
- Add a customer into the second field. Just start typing, the field has auto-completion support. The added customer IDs will be displayed below the text field.
- Click on the Save button.
To edit a mapping:
- Click on a mapping in the list of mappings.
- Add or remove customers.
- Click on the Save or Save and finish button.
The PartnerID field is read-only. If you would like to edit the partner ID, you can delete the mapping and create a new one with the other partner ID.
To delete a mapping:
- Click on the trash icon in the last column of the overview table.
- Click on the OK button in the confirmation dialog.
Note
If several mappings are added to the system, use the filter box to find a particular mapping by just typing the name to filter.
Mapping Settings¶
The following settings are available when adding or editing this resource. The fields marked with an asterisk are mandatory.
- PartnerID *
- The ID of a partner as stored in the LDAP.
- CustomerID *
- The internal ID of a customer as stored in the OTRS database.