bcgov / digital-journeys

PSA Forms System
https://bcgov.github.io/digital-journeys/
Apache License 2.0
8 stars 7 forks source link

COI: Fix user assignment in camunda when manager email/username is not available in Keycloak #1897

Open bhumin-fw opened 2 months ago

bhumin-fw commented 2 months ago

When working on adding a new field that accepts usernames for LDB users to assign tasks to LDB managers or supervisors, we discovered that the codebase currently only creates new users with a fixed _idir postfix. It does not accept dynamic values from forms, user emails, or other details. To make the system more flexible, it needs to be updated to handle dynamic values from forms or workflows in the future, eliminating the need for hard-coded values.

ayushdamani commented 2 months ago

We are waiting for ticket #1882 to be moved to test!

ayushdamani commented 1 month ago

We had some communications from Jan. Bhumin will try and get the username!

Stella-Archer commented 6 days ago

@Andrew-Vargas-bcgov LDB User name needed to test this

bhumin-fw commented 6 days ago

@Stella-Archer @Andrew-Vargas-bcgov I have shared the test user details in the Teams chat. You can log in as that user by selecting 'LDB' on the login screen.

Note: I have also added a couple of other usernames that @ayushdamani is aware of, but those require some developer-level understanding to use that path for logging in as those users.