HomePhabricator
Diffusion Comm 5a1516fd8cef

[keyserver] Validate community ID corresponds to a community root in role…

Description

[keyserver] Validate community ID corresponds to a community root in role-creator

Summary:
This diff adds a validation check to make sure the community ID passed in to the server corresponds to a community root (where community roles are valid)

This was some feedback from @ashoat to include this check, and I should have originally done it when writing this code

Depends on D9897

Test Plan: Made sure that it works for valid thread types, and that an error was thrown if a non-community ID was passed in

Reviewers: atul, ginsu, ashoat

Reviewed By: ashoat

Subscribers: tomek, ashoat

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

Details

Provenance
rohanAuthored on Nov 20 2023, 2:09 PM
Reviewer
ashoat
Differential Revision
D9900: [keyserver] Validate community ID corresponds to a community root in role-creator
Parents
rCOMM67f55a80135f: [lib] Introduce getUniversalCommunityRootPermissionsBlob
Branches
Unknown
Tags
Unknown