mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented Permission draft
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
@@ -6,14 +7,11 @@ use App\Entity\Attribut\TypeAttributInterface;
|
||||
use App\Entity\Attribut\LawAttributInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
interface RightInterface extends TypeAttributInterface, LawAttributInterface
|
||||
{
|
||||
|
||||
public function isGranted(NodeInterface $node): bool;
|
||||
|
||||
public function setPermissions(ArrayCollection $permissions):void;
|
||||
}
|
||||
|
||||
public function setPermissions(ArrayCollection $permissions): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user