]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/SettingController.php
Merge branch 'master' into nwalke-update_site_color
[bookstack] / app / Http / Controllers / SettingController.php
index 47f59efbbb48cc3224bc74e00af0597effa87a78..dfda2b6cf211f367755e9914225115a053c45522 100644 (file)
@@ -17,7 +17,7 @@ class SettingController extends Controller
      */
     public function index()
     {
-        $this->checkPermission('settings-update');
+        $this->checkPermission('settings-manage');
         $this->setPageTitle('Settings');
         return view('settings/index');
     }
@@ -32,7 +32,7 @@ class SettingController extends Controller
     public function update(Request $request)
     {
         $this->preventAccessForDemoUsers();
-        $this->checkPermission('settings-update');
+        $this->checkPermission('settings-manage');
 
         // Cycles through posted settings and update them
         foreach($request->all() as $name => $value) {