roles icon indicating copy to clipboard operation
roles copied to clipboard

Powerful package for handling roles and permissions in Laravel 5

Results 77 roles issues
Sort by recently updated
recently updated
newest added

Call the 'canOne' function instead of the 'can' function in the Middleware and ServiceProvider so we can make us of Laravel's authorization 'can' function. Now it's posible to use the...

I have an Article, who is created by the Admin. I need to be able to give a few users the ability to edit that and only that article. Is...

I get error FatalErrorException in User.php line 42: Trait method can has not been applied, because there are collisions with other trait methods on App\User ```

There is a new AuthorizableContract in Laravel 5.1.11 which defines such method as can() that already defined in your HasRoleAndPermissionContract. So what's the next? I suggest to rename can() to...

Hi Roman, Great package! I have a question regarding the permissions: if an account has 2 roles with different permissions (i.e.admin, manager), and then assign to the same account permissions...

Hey, it's possible to use a middleware with Entity Check to easily protect e.g. resource routes?

Permission inheritance is a great thing, but it is obviously incomplete and kind of broken. Say, there is an application which has two separate sections: news and questions And here...

How can I define sub role for example I have CustomersAdmin role and I want to add CustomerSupport role and it shown as sub role of Customer Admin in view

I have a problem with attribute level, when using Oracle database. Word 'level' is reserved by Oracle. Is the possibility to rename this attribute ? Or somthing else ? Thanks

How to go about checking if a given role has specified permission? For example: $role = Role:find(1); if ($role->hasPermission(3)) { echo "role with id 1 has permission with id 3";...