Created
September 10, 2021 03:48
-
-
Save minhntm/ed2b7608b2f5e8bbd10e4ee1b9d2f083 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Global() | |
@Module({ | |
imports: [ | |
TypeOrmModule.forFeature([UserRepository]), | |
], | |
providers: [CaslAbilityFactory, PermissionsGuard, AuthzService], | |
exports: [CaslAbilityFactory, PermissionsGuard], | |
}) | |
export class AuthzModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment