Code-4-Community / breaktime-backend

2 stars 0 forks source link

Users API: Add user role to getUser/getUsers endpoint data #48

Closed izzyconner closed 9 months ago

izzyconner commented 1 year ago

For the getUser and getUsers endpoints, the User data that's returned should include the Role (associate, supervisor, admin, or none) for each user.

This will require fairly large rework of how we get user data from Cognito, since we don't currently receive the Cognito groups from the Cognito 'ListUsers' response.

Some potential options: