HomePhabricator
Diffusion Comm a74cdf7fdc5e

[lib] move `isStaff()` to separate file

Description

[lib] move isStaff() to separate file

Summary:
This is done to avoid acyclic imports after adding the validators. Without this shared worker is failing:

image.png (204×719 px, 97 KB)

Test Plan: Run db on web (see rest of the stack) and check if works without errors.

Reviewers: tomek, michal

Reviewed By: tomek

Subscribers: ashoat, atul

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

Details

Provenance
kamilAuthored on May 8 2023, 2:09 AM
Reviewer
tomek
Differential Revision
D7738: [lib] move `isStaff()` to separate file
Parents
rCOMMfc743d8532ea: [lib][keyserver] Expose upload_media_metadata endpoint
Branches
Unknown
Tags
Unknown