mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 06:11:49 +00:00
7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
![]() |
/**
|
||
|
* Zeppelin staff have full access to the dashboard
|
||
|
*/
|
||
|
export function isStaff(userId: string) {
|
||
|
return (process.env.STAFF ?? "").split(",").includes(userId);
|
||
|
}
|