Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
heloufir committed Sep 30, 2022
2 parents b78a1dd + 0285d49 commit e08af44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Livewire/Administration/UsersDialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e08af44

Please sign in to comment.