]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Repos/BaseRepo.php
Perms: Fixed some issues made when adding transactions
[bookstack] / app / Entities / Repos / BaseRepo.php
index 151d5b0555bbc5fc884c23b8612d10e73884b36d..ac5a44e679dbc70f9d9c8563231aeea5ed06e22b 100644 (file)
@@ -77,7 +77,6 @@ class BaseRepo
             $entity->touch();
         }
 
-        $entity->rebuildPermissions();
         $entity->indexForSearch();
         $this->referenceStore->updateForEntity($entity);
 
@@ -139,7 +138,7 @@ class BaseRepo
 
     /**
      * Sort the parent of the given entity, if any auto sort actions are set for it.
-     * Typical ran during create/update/insert events.
+     * Typically ran during create/update/insert events.
      */
     public function sortParent(Entity $entity): void
     {