-
Notifications
You must be signed in to change notification settings - Fork 209
Make the member deactivated when removing it from the org #1711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔒 Comp AI - Security Review🔴 Risk Level: HIGHOSV finds xlsx@0.18.5 (GHSA-4r6h-8v6p-xvw6, GHSA-5pgg-2g8v-p4x9) and ai@5.0.0 (fix in 5.0.52). Code shows unvalidated IDs and client-trusted approverId/header values leading to injection/IDOR risks. 📦 Dependency Vulnerabilities🟠 NPM Packages (HIGH)Risk Score: 8/10 | Summary: 2 high, 1 low CVEs found
🛡️ Code Security AnalysisView 29 file(s) with issues🟡 apps/api/src/auth/hybrid-auth.guard.ts (MEDIUM Risk)
Recommendations:
🟡 apps/api/src/comments/comments.service.ts (MEDIUM Risk)
Recommendations:
🟡 apps/api/src/comments/dto/comment-responses.dto.ts (MEDIUM Risk)
Recommendations:
🟡 apps/api/src/devices/devices.service.ts (MEDIUM Risk)
Recommendations:
🔴 apps/api/src/people/utils/member-queries.ts (HIGH Risk)
Recommendations:
🟡 apps/api/src/people/utils/member-validator.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/actions/add-comment.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/actions/change-organization.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/actions/organization/accept-invitation.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/actions/organization/get-organization-users-action.ts (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/actions/policies/accept-requested-policy-changes.ts (HIGH Risk)
Recommendations:
🔴 apps/app/src/actions/policies/create-new-policy.ts (HIGH Risk)
Recommendations:
🔴 apps/app/src/actions/policies/deny-requested-policy-changes.ts (HIGH Risk)
Recommendations:
🟡 apps/app/src/actions/policies/publish-all.ts (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/actions/safe-action.ts (HIGH Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/frameworks/page.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/layout.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/people/all/actions/addEmployeeWithoutInvite.ts (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/people/all/actions/removeMember.ts (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/people/all/actions/revokeInvitation.ts (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/people/all/components/TeamMembers.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/people/all/components/TeamMembersClient.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/people/devices/data/index.ts (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/people/layout.tsx (MEDIUM Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/policies/[policyId]/components/RecentAuditLogs.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/policies/[policyId]/data/index.ts (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/risk/(overview)/page.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/risk/[riskId]/page.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/tasks/page.tsx (MEDIUM Risk)
Recommendations:
💡 RecommendationsView 3 recommendation(s)
Powered by Comp AI - AI that handles compliance for you. Reviewed Nov 21, 2025 |
…activate-member
…activate-member
…activate-member
|
|
🎉 This PR is included in version 1.63.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |


This is an automated pull request to merge chas/deactivate-member into dev.
It was created by the [Auto Pull Request] action.