Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: prevent bulk deletion on frontend if scim is enabled
Scott Wilsone15086edc094
diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsxindex beaad32926..d3f6d6e71d 100644--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgMembersTab/components/OrgMembersSection/OrgMembersSection.tsx@@ -171,7 +171,11 @@ export const OrgMembersSection = () => {I={OrgPermissionActions.Delete}a={OrgPermissionSubjects.Member}renderTooltip- allowedLabel="Delete"+ allowedLabel={+ currentOrg?.scimEnabled+ ? "You cannot manage users from Infisical when org-level auth is enforced for your organization"+ : undefined+ }>{(isAllowed) => (<Button@@ -188,7 +192,7 @@ export const OrgMembersSection = () => {handlePopUpOpen("removeMembers", { selectedOrgMemberships });}}- isDisabled={!isAllowed}+ isDisabled={!isAllowed || currentOrg?.scimEnabled}size="xs">Delete