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
Minor adjustments
Tuan Dangf03ca7f91693
diff --git a/backend/src/ee/services/audit-log/audit-log-service.ts b/backend/src/ee/services/audit-log/audit-log-service.tsindex b730f5ee73..11159c37b0 100644--- a/backend/src/ee/services/audit-log/audit-log-service.ts+++ b/backend/src/ee/services/audit-log/audit-log-service.ts@@ -55,6 +55,10 @@ export const auditLogServiceFactory = ({actorOrgId);+ /**+ * NOTE (dangtony98): Update this to organization-level audit log permission check once audit logs are moved+ * to the organization level+ */ForbiddenError.from(permission).throwUnlessCan(OrgPermissionActions.Read, OrgPermissionSubjects.Member);}diff --git a/frontend/src/views/Org/UserPage/UserPage.tsx b/frontend/src/views/Org/UserPage/UserPage.tsxindex 5c10e19775..ad0f66d6e2 100644--- a/frontend/src/views/Org/UserPage/UserPage.tsx+++ b/frontend/src/views/Org/UserPage/UserPage.tsx@@ -244,7 +244,7 @@ export const UserPage = withPermission(<UserDetailsSection membershipId={membershipId} handlePopUpOpen={handlePopUpOpen} /></div><div className="w-full space-y-2">- <div className="w-full space-y-2">+ <div className="w-full space-y-4"><UserProjectsSection membershipId={membershipId} /><UserGroupsSection orgMembership={membership} /><UserAuditLogsSection orgMembership={membership} />diff --git a/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserAuditLogsSection.tsx b/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserAuditLogsSection.tsxindex 1736e83331..dcfd0553ca 100644--- a/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserAuditLogsSection.tsx+++ b/frontend/src/views/Org/UserPage/components/UserProjectsSection/UserAuditLogsSection.tsx@@ -47,7 +47,7 @@ export const UserAuditLogsSection = withPermission(/></div>) : !isLoading ? (- <div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4 opacity-50">+ <div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"><div className="mb-4 flex items-center justify-between border-b border-mineshaft-400 pb-4"><p className="text-lg font-semibold text-gray-200">Audit Logs</p></div>@@ -72,7 +72,7 @@ export const UserAuditLogsSection = withPermission(upgrade your subscription</a></Link>{" "}- to view audit logs.+ to view audit logs for this user</p></div>}