Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | 1x 7x 1x 1x | import React from "react";
import { Globe, KeyRound, Shield } from "lucide-react";
import MainPage from "@/components/page/MainPage/MainPage";
import { SectionCard } from "@/components/detail";
import WorkspaceSettingsTabs from "./WorkspaceSettingsTabs";
const ComingSoonRow: React.FC<{ label: string; description?: string }> = ({
label,
description,
}) => (
<div className="flex items-center justify-between gap-6 px-5 py-3.5">
<div>
<div className="text-sm font-medium text-gray-700 dark:text-gray-300">
{label}
</div>
{description && (
<div className="text-xs text-gray-400 dark:text-gray-500 mt-0.5">
{description}
</div>
)}
</div>
<span className="shrink-0 text-xs px-2 py-0.5 rounded-full bg-gray-100 dark:bg-gray-700 text-gray-400 dark:text-gray-500 font-medium">
Coming soon
</span>
</div>
);
/**
* An organisation's Policies tab: the controls it will set for everyone in
* it and its projects. None is built yet, and each row says so — governance
* rules, which are, live under Governance.
*/
const OrganisationPolicies: React.FC = () => (
<MainPage
title="Policies"
description="Controls the organisation sets for its members and projects."
links={[<WorkspaceSettingsTabs key="tabs" active="policies" />]}
>
<div className="max-w-2xl space-y-4">
<SectionCard
variant="settings"
icon={KeyRound}
title="Sign-in"
description="How members sign in."
>
<ComingSoonRow
label="Single sign-on"
description="Sign in through your organisation's identity provider."
/>
<ComingSoonRow
label="MFA Enforcement"
description="Require multi-factor authentication for all members."
/>
</SectionCard>
<SectionCard
variant="settings"
icon={Globe}
title="Compliance"
description="Data residency, audit logs, and regulatory controls."
>
<ComingSoonRow
label="Data Locality"
description="Set where organisation data is stored and processed."
/>
<ComingSoonRow
label="Audit Log"
description="View a full log of all actions taken within this organisation."
/>
<ComingSoonRow
label="Data Retention Policy"
description="Configure how long data is retained before automatic deletion."
/>
</SectionCard>
<SectionCard
variant="settings"
icon={Shield}
title="Security"
description="Access controls and security policies."
>
<ComingSoonRow
label="IP Allowlist"
description="Restrict access to specific IP ranges."
/>
<ComingSoonRow
label="Session Timeout"
description="Set the inactivity timeout for all organisation members."
/>
</SectionCard>
</div>
</MainPage>
);
export default OrganisationPolicies;
|