Describe the bug
When following the invite user and join program flow, using the HTTP endpoints, the role is not captured/returned. The user details in the program users list report the user role as null.
Steps To Reproduce
- Invite User with a valid role -> get 200 OK
- List users in a program -> see the user with active invite, user role is null
Expected behaviour
User role should list the role requested when the invite user (POST /program/user) is called. If the requested role is invalid it will return a 400 error, otherwise the role should be stored and readable by future requests for user data.
Describe the bug
When following the invite user and join program flow, using the HTTP endpoints, the role is not captured/returned. The user details in the program users list report the user role as
null.Steps To Reproduce
Expected behaviour
User role should list the role requested when the invite user (POST /program/user) is called. If the requested role is invalid it will return a 400 error, otherwise the role should be stored and readable by future requests for user data.