-
-
Notifications
You must be signed in to change notification settings - Fork 677
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: sharedb work flow * chore: remove non-existent var * chore: remove useless e2e test * fix: uniform registration of global guard positions to ensure execution order * fix: e2e set port * fix: socket error * chore: remove test code
- Loading branch information
Showing
49 changed files
with
556 additions
and
1,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
import { Global, Module } from '@nestjs/common'; | ||
import { APP_GUARD } from '@nestjs/core'; | ||
import { PermissionGuard } from './guard/permission.guard'; | ||
import { PermissionService } from './permission.service'; | ||
|
||
@Global() | ||
@Module({ | ||
providers: [ | ||
PermissionService, | ||
PermissionGuard, | ||
{ | ||
provide: APP_GUARD, | ||
useClass: PermissionGuard, | ||
}, | ||
], | ||
providers: [PermissionService, PermissionGuard], | ||
exports: [PermissionService, PermissionGuard], | ||
}) | ||
export class PermissionModule {} |
41 changes: 0 additions & 41 deletions
41
apps/nestjs-backend/src/features/field/field-permission.service.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 0 additions & 124 deletions
124
apps/nestjs-backend/src/features/record/record-permission.service.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.