From d27f22fe6f1157e89b0f42bc20d299fda1d9fd52 Mon Sep 17 00:00:00 2001 From: LWangllix Date: Wed, 17 Jan 2024 11:38:48 +0200 Subject: [PATCH] undo test --- services/permissions.service.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/permissions.service.ts b/services/permissions.service.ts index eb08e85..a5b7b09 100644 --- a/services/permissions.service.ts +++ b/services/permissions.service.ts @@ -954,8 +954,6 @@ export default class PermissionsService extends moleculer.Service { let visibleGroupIds = await this.getVisibleGroupsByUser(user.id, edit && UserGroupRole.ADMIN); - throwBadRequestError(JSON.stringify(groupIds)); - if (groupIds) { visibleGroupIds = visibleGroupIds.filter((visibleGroupId) => groupIds.includes(visibleGroupId.toString()),