Page MenuHomePhabricator

[keysever/lib/native] introduce gate for tagging farcaster channel work
ClosedPublic

Authored by ginsu on Apr 26 2024, 11:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 6:44 PM
Unknown Object (File)
Mon, Nov 11, 6:16 PM
Unknown Object (File)
Mon, Nov 11, 4:55 PM
Unknown Object (File)
Mon, Nov 11, 2:07 PM
Unknown Object (File)
Mon, Nov 11, 6:25 AM
Unknown Object (File)
Sat, Nov 9, 11:58 PM
Unknown Object (File)
Mon, Nov 4, 2:15 AM
Unknown Object (File)
Oct 15 2024, 6:32 PM
Subscribers

Details

Summary

This gate will be used to guarantee that nobody (internally + externally) creates a Farcaster channel tag and thus has a blob holder on their client on prod.

Depends on D11772

Test Plan

Confirmed that when GATE_TAG_FARCASTER_CHANNEL is true we can't access the UI + also confirmed that the create_or_update_farcaster_channel_tag would immediatly throw an error

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
lib/shared/community-utils.js
3 ↗(On Diff #39583)

From the name it's unclear whether this will allow or prohibit the tagging of farcaster channels. Can you rename it to clarify? Eg. maybe DISABLE_TAGGING_FARCASTER_CHANNEL (or ENABLE_TAGGING_FARCASTER_CHANNEL, but then I guess you'd have to flip the checks)

This revision is now accepted and ready to land.Apr 27 2024, 9:35 AM