roles icon indicating copy to clipboard operation
roles copied to clipboard

Powerful package for handling roles in Laravel

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

The `2016_09_02_000000_create_role_user_table.php` migration is executed before the `2016_09_02_000000_create_roles_table.php` migration causing a foreign key error on the `role_id` column.

Using this package that relies strictly on external cache to retrieve the roles, even after they have been retrieved from cache from previous calls. This negates any possibility of eagerly...

Hello! Great package, thnx! Please help me to customize names of tables and columns. I want to change for example role with online_role and etc.

feature request

``` /** * Attach role to a user. * * @param int|\HttpOz\Roles\Models\Role $role * * @return bool */ public function attachRole( $role ) { if ( ! collect( $this->getRoles() )->contains(...

Heyho, Thanks for your package! Is there a way to receive all users by a group? Something like: ``` public function scopeInsideGroup($query, $group = 'default') { return $query->whereHas('roles', function ($relation_query)...

Hi. The section of the documentation [here](https://httpoz.github.io/roles/roles/querying-roles/) says: ``` if($user->isAll('admin|forum.moderator')){ // do something } ``` yet, it contains an alternative symbol ( | ). That's actually confusing, as | would...

This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 9.x. **Before merging**, you need to: - Checkout the `l10-compatibility`...

Please add support for Laravel 10.x and 11.x (and 12.x is upcoming) or consider marking this repository as archived.