mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 15:31:19 +00:00
Fix rebase issue with deleted files
This commit is contained in:
-2
@@ -101,8 +101,6 @@ export const RolePermissionsSection = ({ roleId }: Props) => {
|
||||
|
||||
const onSubmit = async (el: TFormSchema) => {
|
||||
try {
|
||||
console.log(el.permissions);
|
||||
console.log(formRolePermission2API(el.permissions));
|
||||
await updateRole({
|
||||
orgId,
|
||||
id: roleId,
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ export const SecretSharingAllowShareToAnyone = () => {
|
||||
|
||||
await mutateAsync({
|
||||
orgId: currentOrg.id,
|
||||
secretShareSendToAnyone: value
|
||||
allowSecretSharingOutsideOrganization: value
|
||||
});
|
||||
|
||||
createNotification({
|
||||
@@ -42,7 +42,7 @@ export const SecretSharingAllowShareToAnyone = () => {
|
||||
<Switch
|
||||
id="enable-secret-sharing-outside-org"
|
||||
onCheckedChange={(value) => handleSecretSharingToggle(value)}
|
||||
isChecked={currentOrg?.secretShareSendToAnyone ?? false}
|
||||
isChecked={currentOrg?.allowSecretSharingOutsideOrganization ?? false}
|
||||
isDisabled={!isAllowed}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user