fix: prevent cross-team app visibility in organizations (#23085)
This commit is contained in:
1 parent
a784af3e47
commit
d9817fcb07
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user