jromero98 / trebol-entrust

This package provides a flexible way to add role-based permissions to Laravel and is a fork from Zizaco/entrust
0 stars 2 forks source link

Upgrade from 6.* to 7.* not working anymore #1

Open starcraft04 opened 4 years ago

starcraft04 commented 4 years ago

Hi,

I went from the package in version 0.3 in laravel 6.x where all was working to 1.0 in laravel 7.x.

Now, it seems that I can have everything working fine in the routes (using the middleware) and the check of role is working but the check of permission with can is always returning false. I tried in tinker and it gets me fals all the time.

hbalagtas commented 2 years ago

I guess this project is abandoned, just found out everything breaks after upgrading to Laravel 8.x

Found out that $user->can does not work, however $user->cans does work, will be using temporarily until I can move to a different system.