mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Optimized permission entity
This commit is contained in:
parent
f66cb4a8ce
commit
5136cec81d
@ -28,7 +28,7 @@ class Permission extends AbstractEntity implements PermissionInterface
|
|||||||
protected $reciever;
|
protected $reciever;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="boolean")
|
* @ORM\Column(type="boolean",name="`grant`")
|
||||||
*
|
*
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
@ -52,6 +52,7 @@ class Permission extends AbstractEntity implements PermissionInterface
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
$this->reciever = RecieverType::NODE;
|
||||||
$this->grant = true;
|
$this->grant = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user