]> BookStack Code Mirror - bookstack/blobdiff - app/Services/PermissionService.php
Merge pull request #10 from BookStackApp/master
[bookstack] / app / Services / PermissionService.php
index a1b661533a65df232a3b29987e8e7edfb6d13189..c86ef0e7aa51354d375203727a34e9e9abdfbf32 100644 (file)
@@ -468,7 +468,7 @@ class PermissionService
         $action = end($explodedPermission);
         $this->currentAction = $action;
 
-        $nonJointPermissions = ['restrictions', 'image', 'attachment'];
+        $nonJointPermissions = ['restrictions', 'image', 'attachment', 'comment'];
 
         // Handle non entity specific jointPermissions
         if (in_array($explodedPermission[0], $nonJointPermissions)) {