romanbican / roles

Powerful package for handling roles and permissions in Laravel 5
MIT License
1.16k stars 296 forks source link

Is there support AND/OR operatos in the middleware? #208

Open gandra opened 7 years ago

gandra commented 7 years ago

Does this package support AND/OR operator in middleware? Something like Zizaco/entrust has support:
It is possible to use pipe symbol as OR operator: 'middleware' => ['role:admin|root']