Context: https://linear.app/comm/issue/ENG-6950/update-rolepanelentrypanel-to-use-specialrole-field
We introduce this hook so we can get rid of "sketchy" string check in RolePanelEntry.
Depends on D11204
Differential D11205
[lib][native] Introduce `useRoleNamesToSpecialRole` to remove `"Admins"` string check in `RolePanelEntry` Authored by atul on Mar 1 2024, 8:03 PM.
Details Context: https://linear.app/comm/issue/ENG-6950/update-rolepanelentrypanel-to-use-specialrole-field We introduce this hook so we can get rid of "sketchy" string check in RolePanelEntry. Depends on D11204
Diff Detail
Event TimelineComment Actions I don't understand the reason behind this diff and the task from the summary doesn't have any description. Why can't we simply check RoleInfo and its specialRole field?
| ||||||||||||||||||||||||||||||||||||||||