romanbican / roles

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

can() method judge super admin role has all permission by default #194

Open xlkit456852 opened 8 years ago

xlkit456852 commented 8 years ago

There is a super admin role (may be role level =100) that always has all permissions in my project , I was wondering if can() could add a judgement about this , and I can avoid updating the permission role whenever I add permissions.