cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.52k stars 240 forks source link

Add null role permissions test for EloquentUser #502

Closed rydurham closed 5 years ago

rydurham commented 5 years ago

Per our discussion in #501, this PR adds a test for empty permissions on user roles (via EloquentUser).

I am not sure if this is what you meant, @suwardany, but here it is.

Thanks!

suwardany commented 5 years ago

Exactly that! Thanks a lot!