HomePhabricator
Diffusion Comm 30602da35451

[keyserver/lib] introduce MANAGE_FARCASTER_CHANNEL_TAGS permission

Description

[keyserver/lib] introduce MANAGE_FARCASTER_CHANNEL_TAGS permission

Summary:
We need this permission to create + update + remove farcaster channel tags

Linear task: https://linear.app/comm/issue/ENG-7648/introduce-a-new-permission-for-updatingmanaging-connecting-farcaster

Depends on D12400

Test Plan:
Tested new clients:
Set the code version to current code version, created a new community and threads, confirmed that when an admin opened up the manage roles screen the manage farcaster channel tags permission was shown to the user and they could use it to create a new role.

Also was logging out the value of stateCheckStatus and confirmed that I always got
{ status: 'state_validated' }

Tested old clients + state sync mechanism:
Followed @inka's test plan in D12235 and confirmed that the value of stateCheckStatus was

{ status: 'state_validated' }

Screenshot 2024-06-12 at 5.01.20 PM.png (1×3 px, 2 MB)

Also confirmed that when the user opened the community drawer that the manage farcaster channel tag permission was not shown for existing communities and newly created communities

Reviewers: tomek, kamil, ashoat

Reviewed By: ashoat

Subscribers: inka, ashoat, tomek

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

Details

Provenance
ginsuAuthored on May 7 2024, 6:18 PM
Reviewer
ashoat
Differential Revision
D12062: [keyserver/lib] introduce MANAGE_FARCASTER_CHANNEL_TAGS permission
Parents
rCOMMd0b5bb830de9: [lib] introduce updateThreadStoreThreadInfos
Branches
Unknown
Tags
Unknown