Skip to content

chore: [DHIS2-21583] Restore self-contained user roles fetching in WidgetProfile#4593

Open
henrikmv wants to merge 1 commit into
hv/chore/DHIS2-21371_EnrollmentDashboardReadOnlyfrom
hv/chore/DHIS2-21583_restore-to-make-profilewidget-selfcontained
Open

chore: [DHIS2-21583] Restore self-contained user roles fetching in WidgetProfile#4593
henrikmv wants to merge 1 commit into
hv/chore/DHIS2-21371_EnrollmentDashboardReadOnlyfrom
hv/chore/DHIS2-21583_restore-to-make-profilewidget-selfcontained

Conversation

@henrikmv
Copy link
Copy Markdown
Contributor

@henrikmv henrikmv commented May 29, 2026

DHIS2-21583

Previously the widget got user data from its own useUserRoles hook. During the merge of #4563 into master, the conflict around the user-roles fetch was resolved by deleting
useUserRoles and switching to CurrentUser.get().userRoles. That resolution was incorrect and will be rolled back.

@henrikmv henrikmv requested a review from a team as a code owner May 29, 2026 17:48
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant