fix: prevent cross-team app visibility in organizations (#23085)

This commit is contained in:
Anik Dhabal Babu
2025-08-14 11:50:30 +00:00
committed by GitHub
parent a784af3e47
commit d9817fcb07
+1
View File
@@ -72,6 +72,7 @@ export async function getConnectedApps({
if (includeTeamInstalledApps || teamId) {
const teamsQuery = await prisma.team.findMany({
where: {
...(teamId ? { id: teamId } : {}),
members: {
some: {
userId: user.id,