mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 12:04:03 +00:00
Update authz logic for MI
This commit is contained in:
+1
@@ -244,6 +244,7 @@ export const AddMachineIdentityModal = ({
|
||||
|
||||
reset();
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
const error = err as any;
|
||||
const text = error?.response?.data?.message
|
||||
?? `Failed to ${popUp?.machineIdentity?.data ? "updated" : "created"} machine identity`;
|
||||
|
||||
+4
-1
@@ -81,8 +81,11 @@ export const MachineIdentityTable = ({
|
||||
});
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
const error = err as any;
|
||||
const text = error?.response?.data?.message ?? "Failed to update machine identity role"
|
||||
|
||||
createNotification({
|
||||
text: "Failed to update machine identity role",
|
||||
text,
|
||||
type: "error"
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user