1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

User permissions

This commit is contained in:
FreeScout 2018-09-23 01:51:44 -07:00
parent 144074efb9
commit 8ee209a282

View File

@ -111,7 +111,7 @@ class UsersController extends Controller
{
$user = User::findOrFail($id);
$this->authorize('view', $user);
$this->authorize('update', $user);
$users = User::all()->except($id);