Isfirs
Isfirs
What is the output, if you add `$name` to the `dd()`? Can you provide some information about the schema and the filled data? (Tables: user, roles, user_roles)
if you inserted the trait, it should be something like `$user->roles()` Check: [HasRoleAndPermission](https://github.com/romanbican/roles/blob/master/src/Bican/Roles/Traits/HasRoleAndPermission.php)
It works well. Some functionality is broken since Laravel 5.2 moved them. I am not good in Unittesting such a project and test EACH individual method. Maybe someone else can.
Does not feel like that you realize this with `permissions`. You should think about your `schema` and not the `permission`. ``` Schema::create('inventory_editors', function(Blueprint $table) { $table->increment('id'); $table->integer('inventory_id', false, true); $table->integer('user_id',...
If I understood, you are working with the `level` field. I don't like `level`s much. Maybe i will fork it and open a pull request. But I don't have the...
Maybe provide more information and stacktraces? Just an issue without any kind of information can't be fixed.
I don't know if I got it, but according to [Middleware](https://github.com/romanbican/roles#middleware) I think you just want to check if a User XY has THE permission to get a page. Working...
Maybe you should add several services: First a middleware on your web stack to redirect to your `/banned`route if the permission/role is attached. Then protect your `/banned` route from accidently...
I don't know, if this works, but it should give you an idea how to make a trait yourself and add it to your user model. Me myself prefer the...
Bump. Any progress on this? I am getting the same error and I could pin point it to the usage of the secondaryLauncher section