[lib] Introduce threadIsWithBlockedUserOnlyWithoutAdminRoleCheck
Summary:
Introduce a variant of threadIsWithBlockedUserOnly that only accepts ThreadInfo and doesn't take skipMemberAdminRoleCheck as an option. This will help us remove ThreadInfo from memberHasAdminPowers.memberInfo argument without that invariant.
There's currently a lot of overlap between threadIsWithBlockedUserOnly and threadIsWithBlockedUserOnlyWithoutAdminRoleCheck. Will pull out the common logic into separate function after sorting out the flow stuff.
Depends on D12288
Test Plan: flow + close reading + some basic logging
Reviewers: ashoat, ginsu, tomek, varun
Reviewed By: tomek
Differential Revision: https://phab.comm.dev/D12289