Skip to content

Commit

Permalink
undo test
Browse files Browse the repository at this point in the history
  • Loading branch information
LWangllix committed Jan 17, 2024
1 parent a8cfd09 commit d27f22f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/permissions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit d27f22f

Please sign in to comment.