mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 12:04:03 +00:00
feat: changed update patch function to privilegeDetails for identity privilege
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ const SpecificPrivilegeSecretForm = ({
|
||||
conditions.secretPath = { $glob: data.secretPath };
|
||||
}
|
||||
await updateIdentityPrivilege.mutateAsync({
|
||||
data: {
|
||||
privilegeDetails: {
|
||||
...data.temporaryAccess,
|
||||
permissions: actions
|
||||
.filter(({ allowed }) => allowed)
|
||||
|
||||
Reference in New Issue
Block a user