mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-22 13:16:05 +00:00
feat: review feedback, and more changes in cli
This commit is contained in:
+3
-3
@@ -76,7 +76,7 @@ export const OrgGatewayPermissionRow = ({ isEditable, control, setValue }: Props
|
||||
switch (val) {
|
||||
case Permission.FullAccess:
|
||||
setValue(
|
||||
"permissions.app-connections",
|
||||
"permissions.gateway",
|
||||
{
|
||||
[OrgGatewayPermissionActions.Read]: true,
|
||||
[OrgGatewayPermissionActions.Edit]: true,
|
||||
@@ -88,7 +88,7 @@ export const OrgGatewayPermissionRow = ({ isEditable, control, setValue }: Props
|
||||
break;
|
||||
case Permission.ReadOnly:
|
||||
setValue(
|
||||
"permissions.app-connections",
|
||||
"permissions.gateway",
|
||||
{
|
||||
[OrgGatewayPermissionActions.Read]: true,
|
||||
[OrgGatewayPermissionActions.Edit]: false,
|
||||
@@ -102,7 +102,7 @@ export const OrgGatewayPermissionRow = ({ isEditable, control, setValue }: Props
|
||||
case Permission.NoAccess:
|
||||
default:
|
||||
setValue(
|
||||
"permissions.app-connections",
|
||||
"permissions.gateway",
|
||||
{
|
||||
[OrgGatewayPermissionActions.Read]: false,
|
||||
[OrgGatewayPermissionActions.Edit]: false,
|
||||
|
||||
Reference in New Issue
Block a user