CASL roles with persisted permissions
This example shows how to configure CASL with permissions that is stored in the database. See Cookbook for details.
Installation
npm ci
npm run migrate # migrates sqlite database
npm run seed # adds default records to the database
Run
To run application:
npm start
To update permissions of a member role:
npm run allowMembersToCreateAnyArticle