Feat: Request access

This commit is contained in:
Daniel Hougaard
2024-05-07 17:30:36 +02:00
parent cb505d1525
commit db0b4a5ad1
4 changed files with 5 additions and 6 deletions
@@ -65,6 +65,10 @@ export const SecretApprovalPage = () => {
<TabPanel value={TabSection.ResourcePolicies}>
<AccessApprovalPolicyList workspaceId={projectId} />
</TabPanel>
<TabPanel value={TabSection.ResourcePolicies}>
<AccessApprovalPolicyList workspaceId={workspaceId} />
</TabPanel>
</Tabs>
</div>
);
@@ -177,7 +177,6 @@ export const AccessPolicyForm = ({
/>
<Controller
control={control}
name="secretPath"
render={({ field, fieldState: { error } }) => (
<FormControl label="Secret Path" isError={Boolean(error)} errorText={error?.message}>
@@ -187,8 +186,6 @@ export const AccessPolicyForm = ({
/>
<Controller
control={control}
name="approvers"
render={({ field: { value, onChange }, fieldState: { error } }) => (
<FormControl
label="Approvers Required"