]>
BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/UserSearchController.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Applied latest StyleCI changes
[bookstack]
/
app
/
Http
/
Controllers
/
UserSearchController.php
diff --git
a/app/Http/Controllers/UserSearchController.php
b/app/Http/Controllers/UserSearchController.php
index 1a37ca491dc00bbaf6cff29befa2792dc3c1bdbe..df234347c5cfd2151c50df84eb49af1385fdc232 100644
(file)
--- 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')
);