Page MenuHomePhabricator

[web] Compute `existingRole` instead of `existingRoleID` in `RoleActionsMenu`
ClosedPublic

Authored by atul on Mar 1 2024, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Dec 5 2024, 3:54 AM
Unknown Object (File)
Dec 5 2024, 3:54 AM
Unknown Object (File)
Dec 5 2024, 3:54 AM
Subscribers

Details

Summary

This should be a noop refactor that I'm separating into separate diff to make next diff easier to remove.

We basically grab the RoleInfo instead of the RoleInfo.id so that we can access the specialRole field and deprecate useRoleDeletableAndEditableStatus.


Depends on D11205

Test Plan

flow, the invariant, logging the value, making sure RoleActionsMenu continues to look/work as expected

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable