2025-11-03 00:11:48 +00:00
|
|
|
import { hasEntitlement } from "@sourcebot/shared";
|
|
|
|
|
import { notFound } from "@/lib/serviceError";
|
2025-11-04 02:27:13 +00:00
|
|
|
import { LinkedAccountsSettings } from "@/ee/features/permissionSyncing/components/linkedAccountsSettings";
|
2025-11-03 00:11:48 +00:00
|
|
|
|
2025-11-04 01:21:04 +00:00
|
|
|
export default async function PermissionSyncingPage() {
|
2025-11-03 00:11:48 +00:00
|
|
|
const hasPermissionSyncingEntitlement = await hasEntitlement("permission-syncing");
|
|
|
|
|
if (!hasPermissionSyncingEntitlement) {
|
|
|
|
|
notFound();
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-04 01:21:04 +00:00
|
|
|
return <LinkedAccountsSettings />;
|
2025-11-03 00:11:48 +00:00
|
|
|
}
|