Reputation: 41
I'm trying to use ngx-permissions
to manage my app permissions.
My app is depending on a library to share some features to different apps and the permissions will be loaded by this library.
The problem here is, the library has a different instance than the main app. so the permissions are not available for the app to use.
Can anybody help me with this, please?
I tried to import NgxPermissionsModule
to the library with forRoot()
, with forChild()
and without both also. nothing helps sharing the injection from app to library
Upvotes: 1
Views: 98