diff --git a/app/Http/Livewire/Administration/UsersDialog.php b/app/Http/Livewire/Administration/UsersDialog.php index 8dd7f5a..b91cb5c 100644 --- a/app/Http/Livewire/Administration/UsersDialog.php +++ b/app/Http/Livewire/Administration/UsersDialog.php @@ -124,7 +124,7 @@ class="text-xs text-primary-500 hover:text-primary-600 hover:underline" */ public function assignAllRoles(): void { - $this->roles = Permission::all()->pluck('id')->toArray(); + $this->roles = Role::all()->pluck('id')->toArray(); } /** diff --git a/docs/README.md b/docs/README.md index f0eca7e..1b22994 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ Help Desk is a Laravel based project, that let you manage your support tickets a > Help Desk is based on the latest version of Laravel and any other Open Source packages and technologies. -- **Current version:** *v1.4.5* +- **Current version:** *v1.4.6* - **Last update:** *30 September, 2022* ## Features diff --git a/docs/changelog.md b/docs/changelog.md index d3afa0a..d18a9bb 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,9 @@ See what's new added, changed, fixed, improved or updated in the latest versions. +- **Version 1.4.6** *(30 September, 2022)* + - Bug-fix: assign all roles + - **Version 1.4.5** *(30 September, 2022)* - Using roles instead of permissions