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

pageApp hooks

2- Add this hooks to each one of your services like in this guide:

pageCreate a new Service with casl&Dashboard

3 - Update you src/authentication.js like in this guide

pageVerify user and filter user fields

That's it

Last updated