Adonis ACL .How to implewment acl middleware in route and other places in coding


#1

Route.post(’/users/register’,‘UserController.store’).middleware([‘is:(administrator||moderator) && !customer’]);
How authentcation to be set in routes?