mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 10:28:00 +00:00
Draft
This commit is contained in:
@@ -33,7 +33,7 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
|
|||||||
status: null,
|
status: null,
|
||||||
trial_end: null,
|
trial_end: null,
|
||||||
has_used_trial: true,
|
has_used_trial: true,
|
||||||
secretApproval: false,
|
secretApproval: true,
|
||||||
secretRotation: true
|
secretRotation: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
|
interface IProps {
|
||||||
|
className?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const Divider = ({ className }: IProps): JSX.Element => {
|
||||||
|
return (
|
||||||
|
<div className={twMerge("flex items-center px-2 opacity-50", className)}>
|
||||||
|
<div aria-hidden="true" className="h-5 w-full grow border border-t border-mineshaft-200" />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Divider;
|
||||||
@@ -3,6 +3,8 @@ import { faLock } from "@fortawesome/free-solid-svg-icons";
|
|||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { twMerge } from "tailwind-merge";
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
|
import { Button } from "../v2";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
containerClassName?: string;
|
containerClassName?: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
@@ -32,6 +34,9 @@ export const PermissionDeniedBanner = ({ containerClassName, className, children
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Button className="mt-3 ml-[7.5rem]" size="xs">
|
||||||
|
Request access
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -56,13 +56,19 @@ export const SecretApprovalPage = () => {
|
|||||||
<TabPanel value={TabSection.SecretApprovalRequests}>
|
<TabPanel value={TabSection.SecretApprovalRequests}>
|
||||||
<SecretApprovalRequest />
|
<SecretApprovalRequest />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
||||||
<TabPanel value={TabSection.SecretPolicies}>
|
<TabPanel value={TabSection.SecretPolicies}>
|
||||||
<SecretApprovalPolicyList workspaceId={projectId} />
|
<SecretApprovalPolicyList workspaceId={projectId} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
||||||
|
<TabPanel value={TabSection.SecretApprovalRequests}>
|
||||||
|
<SecretApprovalRequest />
|
||||||
|
</TabPanel>
|
||||||
|
|
||||||
<TabPanel value={TabSection.ResourceApprovalRequests}>
|
<TabPanel value={TabSection.ResourceApprovalRequests}>
|
||||||
<AccessApprovalRequest projectId={projectId} projectSlug={projectSlug} />
|
<AccessApprovalRequest projectId={projectId} projectSlug={projectSlug} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|
||||||
<TabPanel value={TabSection.ResourcePolicies}>
|
<TabPanel value={TabSection.ResourcePolicies}>
|
||||||
<AccessApprovalPolicyList workspaceId={projectId} />
|
<AccessApprovalPolicyList workspaceId={projectId} />
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user