kittgen / kittgen-nestjs

Set of libraries and code generators for Nestjs
MIT License
46 stars 0 forks source link

AuthorizationModule should provide PermissionProvider #18

Closed ottovw closed 3 years ago

ottovw commented 3 years ago

We somehow have to create a module registration where we can inject the PermissionProvider.

Currently in my project my auth package has the permission provider, which requires weird exports.

additionally it doesn't work with with the user module. since auth requires users. if users require auth, we get a cyclic dependency

edgarmueller commented 3 years ago

Addressed via #34, the authorization module has been made global.