In the current out-of-the-box feature, a user can only generate passcodes for their subordinates/direct reportes. For example, in the Angular dashboard, under the "My Responsibilities" tile, it lists:
- User 1
- User 2
As a user, I can generate a passcode for these individuals by going to their identity details and selecting "Create Passcode."
However, my client wants to enable the ability for a user to generate passcodes for all identities, not just their subordinates. This functionality isn't working out of the box. When I try hitting the API endpoint
POST portal/person/passcode/{uid}
with other identity uid, it throws an error like:
"Processing the request error running script 'EVENT_SEND_PASSCODE_TO_MANAGER', error generating process QER_PERSON_SEND_MAIL" and a few more related errors.
My question is: How can I enable the functionality for a session user to create passcodes for all identities in the Angular web portal?