]> BookStack Code Mirror - bookstack/blobdiff - app/Repos/EntityRepo.php
Rolled out new permissions system throughout application
[bookstack] / app / Repos / EntityRepo.php
index cb3dd6674b30b3670c9f88689db59e4e9bd20720..6522e4e9c2b1a162250370e0589bf74b6bacba6a 100644 (file)
@@ -151,6 +151,7 @@ class EntityRepo
             }
         }
         $entity->save();
+        $this->restrictionService->buildEntityPermissionsForEntity($entity);
     }
 
     /**