Page MenuHomePhabricator

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

Authored by atul on Feb 22 2024, 7:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 12, 8:56 PM
Unknown Object (File)
Wed, Jun 12, 8:46 AM
Unknown Object (File)
Wed, Jun 12, 7:22 AM
Unknown Object (File)
Tue, Jun 11, 9:45 AM
Unknown Object (File)
Fri, Jun 7, 7:16 PM
Unknown Object (File)
May 4 2024, 10:31 AM
Unknown Object (File)
May 4 2024, 10:31 AM
Unknown Object (File)
May 4 2024, 10:31 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable