mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 14:26:38 +00:00
Merge pull request #2954 from Infisical/fix/addressed-reported-migration-related-ui-issues
fix: resolved conditions permission not getting added from new policy…
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ export const IdentityProjectAdditionalPrivilegeModifySection = ({
|
|||||||
`permissions.${selectedSubject}`,
|
`permissions.${selectedSubject}`,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
||||||
[...rootPolicyValue, ...[]],
|
[...rootPolicyValue, {}],
|
||||||
{ shouldDirty: true, shouldTouch: true }
|
{ shouldDirty: true, shouldTouch: true }
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -173,7 +173,7 @@ export const MembershipProjectAdditionalPrivilegeModifySection = ({
|
|||||||
`permissions.${selectedSubject}`,
|
`permissions.${selectedSubject}`,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
||||||
[...rootPolicyValue, ...[]],
|
[...rootPolicyValue, {}],
|
||||||
{ shouldDirty: true, shouldTouch: true }
|
{ shouldDirty: true, shouldTouch: true }
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -98,7 +98,7 @@ export const RolePermissionsSection = ({ roleSlug, isDisabled }: Props) => {
|
|||||||
`permissions.${selectedSubject}`,
|
`permissions.${selectedSubject}`,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
// @ts-ignore-error akhilmhdh: this is because of ts collision with both
|
||||||
[...rootPolicyValue, ...[]],
|
[...rootPolicyValue, {}],
|
||||||
{ shouldDirty: true, shouldTouch: true }
|
{ shouldDirty: true, shouldTouch: true }
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user