mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-16 13:06:27 +00:00
18 lines
326 B
TypeScript
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 };
|
|
}
|