]> BookStack Code Mirror - bookstack/blobdiff - app/Services/PermissionService.php
Merge branch 'master' of git://github.com/Abijeet/BookStack into Abijeet-master
[bookstack] / app / Services / PermissionService.php
index c6c9813370369fa6f270cb7be81444fc37979685..93787a3e589ba9e6a1d82d2be5030af6ded82c13 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)) {