Expanded rights to also manage actions instead of just a cruds

This commit is contained in:
Kevin Frantz
2019-02-21 18:46:57 +01:00
parent 465d6d6d01
commit 3e91aed050
27 changed files with 91 additions and 98 deletions

View File

@@ -59,7 +59,7 @@ class RightRepositoryIntegrationTest extends KernelTestCase
$this->right = new Right();
$this->right->setPriority(self::PRIORITY);
$this->right->setLayer(LayerType::SOURCE);
$this->right->setCrud(CRUDType::READ);
$this->right->setActionType(CRUDType::READ);
$this->law = new Law();
$this->entityManager->persist($this->law);
}