Page MenuHomePhabricator

[lib] Update `roleIsDefaultRole` to consider `roleInfo?.specialRole`
ClosedPublic

Authored by atul on Feb 22 2024, 7:59 PM.
Tags
None
Referenced Files
F3395401: D11149.diff
Sun, Dec 1, 4:44 AM
Unknown Object (File)
Sat, Nov 16, 5:46 PM
Unknown Object (File)
Sat, Nov 16, 5:46 PM
Unknown Object (File)
Sat, Nov 16, 5:46 PM
Unknown Object (File)
Sat, Nov 16, 5:45 PM
Unknown Object (File)
Sat, Nov 16, 5:44 PM
Unknown Object (File)
Oct 14 2024, 7:04 PM
Unknown Object (File)
Oct 14 2024, 7:04 PM
Subscribers

Details

Summary

Similar to D11148, but for specialRoles.DEFAULT_ROLE.


Depends on D11148

Test Plan
  1. Hard code includeSpecialRoleFieldInRoles to true
  2. Check to see that specialRole field of roles are populated in ThreadStore
  3. Set a breakpoint and see that the branch is hit and function behaves as expected.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D11149 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage