mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 13:56:43 +00:00
36 lines
1007 B
TypeScript
36 lines
1007 B
TypeScript
import { Helmet } from "react-helmet";
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
import { PageHeader } from "@app/components/v2";
|
|
import {
|
|
OrgPermissionSecretShareAction,
|
|
OrgPermissionSubjects
|
|
} from "@app/context/OrgPermissionContext/types";
|
|
import { withPermission } from "@app/hoc";
|
|
|
|
import { SecretSharingSettingsTabGroup } from "./components";
|
|
|
|
export const SecretSharingSettingsPage = withPermission(
|
|
() => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>{t("common.head-title", { title: t("settings.org.title") })}</title>
|
|
</Helmet>
|
|
<div className="flex w-full justify-center bg-bunker-800 text-white">
|
|
<div className="w-full max-w-7xl">
|
|
<PageHeader title={t("settings.org.title")} />
|
|
<SecretSharingSettingsTabGroup />
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
},
|
|
{
|
|
action: OrgPermissionSecretShareAction.ManageSettings,
|
|
subject: OrgPermissionSubjects.SecretShare
|
|
}
|
|
);
|