Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[keyserver/web] Enable announcement subchannel creation
Summary: While working on [[https://linear.app/comm/issue/ENG-5182 | ENG-5182]], I noticed that we prevent subchannel creation to be announcement channels. From an initial investigation, it looks like it's been disabled since [[ https://phab.comm.dev/D5211 | D5211 ]]. An error is thrown when attempting to create a new subchannel with the announcement setting because it fails the [[ https://github.com/CommE2E/comm/blob/ce4e185558c1a5af773a4291a44b0c6c19c88fcf/keyserver/src/responders/thread-responders.js#L169-L186 | input validation ]]. Test Plan: Ran `yarn workspace lib test` (to make sure `thread-responders.test.js` still worked, and more importantly manually tested creating both an open announcement subchannel and a secret announcement subchannel. The permissions like I mentioned are kind of weird though since non-members of the new secret subchannel can discover it in the navigation drawer, so I'll make it part of my overall permissions fixes for ENG-5182. Reviewers: atul, ginsu, michal, ashoat Reviewed By: ashoat Subscribers: ashoat, tomek, wyilio Differential Revision: https://phab.comm.dev/D9489
- Loading branch information