zappyzep/backend/src/staff.ts

9 lines
179 B
TypeScript
Raw Normal View History

import { env } from "./env";
/**
* Zeppelin staff have full access to the dashboard
*/
export function isStaff(userId: string) {
return (env.STAFF ?? []).includes(userId);
}