-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow access to AbilityFactory
#198
Comments
Yes, this is unacceptable. I'm thinking about handling this specific use case, as it should be quite common. ie |
🎉 This issue has been resolved in version 1.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@liquidautumn I'm trying to get all rules defined across all modules in my auth module to return the rules on my login route, how do I use As far as I understand when I want to use |
@kinglouie did you find any solution for that? |
@Hatzl unfortunately not |
I'd like to be able to use
packRules
to share permissions with an Angular front end app.The following hack works:
Where
this.accessService
basically hijacks this private field from AccessService:nest-casl/src/access.service.ts
Line 16 in a3af836
Exporting
AbilityFactory
, or an API to get to the underlyingcasl
abilities would be great.The text was updated successfully, but these errors were encountered: