We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc41e1 commit c51fc17Copy full SHA for c51fc17
1 file changed
app/Http/Livewire/Administration/UsersDialog.php
@@ -124,7 +124,7 @@ class="text-xs text-primary-500 hover:text-primary-600 hover:underline"
124
*/
125
public function assignAllRoles(): void
126
{
127
- $this->roles = Permission::all()->pluck('id')->toArray();
+ $this->roles = Role::all()->pluck('id')->toArray();
128
}
129
130
/**
0 commit comments