Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(pam): drop domain-access disable-button comments

bernie-g1581c072a215
diff --git a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
index b08adfdd7e..383b2721ed 100644
--- a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
+++ b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx
@@ -245,8 +245,6 @@ const PageContent = () => {
>
<Button
variant="neutral"
- // Domain-account access uses `${fqdn}:${slug}` as the
- // approval-layer identity. Block until the domain query lands.
isDisabled={isDomainAccount && (isDomainPending || !domain?.connectionDetails.domain)}
onClick={handleAccess}
>
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
index 39b3f3fc65..97b67422a6 100644
--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
@@ -553,9 +553,6 @@ export const PamResourceAccountsSection = ({ resource }: Props) => {
<Button
variant="ghost"
size="xs"
- // Domain-account access uses `${fqdn}:${slug}` as the
- // approval-layer identity. Block until the domain
- // query lands so the preflight matches the backend.
isDisabled={
!!account.domainId &&
(isDomainPending || !domainData?.connectionDetails.domain)