X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e43f679e621c93d62e7c4909bd1f70b370cd4af1..ba25dda0313d257d9361f66993af15c00a53ce85:/app/Http/Controllers/UserSearchController.php diff --git a/app/Http/Controllers/UserSearchController.php b/app/Http/Controllers/UserSearchController.php index 1a37ca491..df234347c 100644 --- a/app/Http/Controllers/UserSearchController.php +++ b/app/Http/Controllers/UserSearchController.php @@ -14,7 +14,7 @@ class UserSearchController extends Controller public function forSelect(Request $request) { $hasPermission = signedInUser() && ( - userCan('users-manage') + userCan('users-manage') || userCan('restrictions-manage-own') || userCan('restrictions-manage-all') );