laravel-acl icon indicating copy to clipboard operation
laravel-acl copied to clipboard

RoleUser and PermissionUser tables

Open manfield opened this issue 8 years ago • 0 comments

According to new Laravel 5.4 implementation of Eloquent methods, like hasMany or belongsToMany, whose behavior is different, compared to the 5.3:

https://github.com/laravel/framework/issues/17503

I think you should create role_user and permission_user tables taking care of the correct foreign key (in most cases user_id is ok, but it might be changed according to specific needs).

manfield avatar Aug 17 '17 19:08 manfield