]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookController.php
Updated ldap so extension not required in testing
[bookstack] / app / Http / Controllers / BookController.php
index 356c7508f51248876ffccc9b595407262f4db18c..5b97fbdafd18b628f97f6deb43a09b09b7436abb 100644 (file)
@@ -252,7 +252,7 @@ class BookController extends Controller
     {
         $book = $this->bookRepo->getBySlug($bookSlug);
         $this->checkOwnablePermission('restrictions-manage', $book);
-        $this->bookRepo->updateRestrictionsFromRequest($request, $book);
+        $this->bookRepo->updateEntityPermissionsFromRequest($request, $book);
         session()->flash('success', 'Book Restrictions Updated');
         return redirect($book->getUrl());
     }