Files
pangolin/server/lib/checkOrgAccessPolicy.ts
2025-10-23 18:15:00 -07:00

18 lines
326 B
TypeScript

import { Org, User } from "@server/db";
type CheckOrgAccessPolicyProps = {
orgId?: string;
org?: Org;
userId?: string;
user?: User;
};
export async function checkOrgAccessPolicy(
props: CheckOrgAccessPolicyProps
): Promise<{
success: boolean;
error?: string;
}> {
return { success: true };
}