-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat): Add user role scope #554
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Ogollah left some few suggestions
licenseNumber: providerAttributeType.find((type) => type.name === 'Practising License Number')?.uuid || '', | ||
licenseExpiry: providerAttributeType.find((type) => type.name === 'License Expiry Date')?.uuid || '', | ||
primaryFacility: providerAttributeType.find((type) => type.name === 'Primary Facility')?.uuid || '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ogollah Can we check for the uuids here instead of name? Names are always volatile and can be changed any time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted
display: role.display, | ||
description: role.description, | ||
})) || [], | ||
gender: initialUserValue.person?.gender || 'M', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the gender or here explicitly M
? should it be empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Ogollah
Requirements
Summary
What does this PR do?
Screenshots
userScope.webm
None.
Related Issue
None.
Other
None.