Skip to content

Commit

Permalink
Remove unused PermissionService
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedwiper committed May 2, 2024
1 parent 8cc5e71 commit 37da2f4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 212 deletions.
3 changes: 1 addition & 2 deletions apps/server/src/modules/account/account-api.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { AuthorizationModule } from '@modules/authorization';
import { Module } from '@nestjs/common';
import { PermissionService } from '@shared/domain/service';
import { UserRepo } from '@shared/repo';
import { LoggerModule } from '@src/core/logger';
import { AccountUc } from './uc/account.uc';
Expand All @@ -9,7 +8,7 @@ import { AccountController } from './controller/account.controller';

@Module({
imports: [AccountModule, LoggerModule, AuthorizationModule],
providers: [UserRepo, PermissionService, AccountUc],
providers: [UserRepo, AccountUc],
controllers: [AccountController],
exports: [],
})
Expand Down
2 changes: 0 additions & 2 deletions apps/server/src/modules/account/account.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { IdentityManagementModule } from '@infra/identity-management';
import { Module } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { PermissionService } from '@shared/domain/service';
import { LegacySystemRepo, UserRepo } from '@shared/repo';

import { CqrsModule } from '@nestjs/cqrs';
Expand All @@ -26,7 +25,6 @@ function accountIdmToDtoMapperFactory(configService: ConfigService<AccountConfig
providers: [
UserRepo,
LegacySystemRepo,
PermissionService,
AccountRepo,
AccountServiceDb,
AccountServiceIdm,
Expand Down
1 change: 0 additions & 1 deletion apps/server/src/shared/domain/service/index.ts

This file was deleted.

148 changes: 0 additions & 148 deletions apps/server/src/shared/domain/service/permission.service.spec.ts

This file was deleted.

59 changes: 0 additions & 59 deletions apps/server/src/shared/domain/service/permission.service.ts

This file was deleted.

0 comments on commit 37da2f4

Please sign in to comment.