Migrating
From version 2.0.0 we support only Feathers > v4, to update your app to Feathers v4 please read this guide After that you can install feathers-mongoose-casl@2.0.1 And then:
1- Please remove authenticate, validateAbilities, validateSchema, sanitizedData from app.hook.js the result need to be
App hooks2- Add this hooks to each one of your services like in this guide:
Create a new Service with casl&Dashboard3 - Update you src/authentication.js like in this guide
Verify user and filter user fieldsThat's it
Last updated