Skip to content

[LIMS-1636] Make LDAP server ID field configurable#934

Merged
ndg63276 merged 2 commits intopre-release/2025-R3.1from
improvement/lims-1636/ldap-server
May 27, 2025
Merged

[LIMS-1636] Make LDAP server ID field configurable#934
ndg63276 merged 2 commits intopre-release/2025-R3.1from
improvement/lims-1636/ldap-server

Conversation

@gfrn
Copy link
Collaborator

@gfrn gfrn commented May 8, 2025

JIRA ticket: LIMS-1636

Summary:

This PR allows users to configure which field is used to get the user ID from in LDAP, to make it easier to switch between LDAP providers.

Changes:

  • Add ldap_id_field configuration key

To test:

  • Go to proposal mx23694, navigate to the shipments page, add a new shipment
  • Click transfer on the dewar that was just created, check if the LC email is pre-populated
  • Click dispatch for the same dewar, ensure the same is still true
  • If you have dispatch/transfer emails set up, and you're set as one of the recipients, then you should be sent an email. If you are dumping emails to email.txt, then these emails should appear in there
  • OPTIONAL: there is an unused function named _get_name to get names from LDAP, you can modify the code to call it and ensure it still works

@gfrn gfrn self-assigned this May 8, 2025
@gfrn gfrn added enhancement php Pull requests that update PHP code Configuration Change Pull requests which necessitate changes to SynchWeb configuration labels May 8, 2025
Copy link
Collaborator

@ndg63276 ndg63276 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ndg63276 ndg63276 changed the base branch from master to pre-release/2025-R3.1 May 27, 2025 09:32
@ndg63276 ndg63276 merged commit 719d2a5 into pre-release/2025-R3.1 May 27, 2025
2 checks passed
@ndg63276 ndg63276 deleted the improvement/lims-1636/ldap-server branch May 27, 2025 09:34
ndg63276 added a commit that referenced this pull request Jun 10, 2025
* LIMS-1447: Don't allow shipping of red samples (#929)

* LIMS-1664: Improvements to registered dewar and container pages (#927)

* LIMS-1636: Make LDAP server ID field configurable (#934)

* LIMS-1699: Show confirmation dialog if a user creates a plate that is not full (#924)

* LIMS-1713: Allow sm beamlines to use mx Create Container page (#932)

* LIMS-1770: Fix download of attachments on saxs and xpdf beamlines (#944)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Configuration Change Pull requests which necessitate changes to SynchWeb configuration enhancement php Pull requests that update PHP code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants