HomePhabricator
Diffusion Comm bbaea7e59505

[lib] Update `memberHasAdminPowers` to handle `MinimallyEncodedMemberInfo`

Description

[lib] Update memberHasAdminPowers to handle MinimallyEncodedMemberInfo

Summary: Update memberHasAdminPowers to use hasPermission utility when dealing with MinimallyEncodedMemberInfo.

Test Plan: Flow, will add unit tests later on

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

Subscribers: wyilio

Differential Revision: https://phab.comm.dev/D9839

Details

Provenance
atulAuthored on Nov 13 2023, 9:46 AM
Reviewer
ashoat
Differential Revision
D9839: [lib] Update `memberHasAdminPowers` to handle `MinimallyEncodedMemberInfo`
Parents
rCOMMde96f810073b: [lib] add conditions for adding keyserver to the keyserver store
Branches
Unknown
Tags
Unknown