mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +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;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean")
|
||||
* @ORM\Column(type="boolean",name="`grant`")
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
@ -52,6 +52,7 @@ class Permission extends AbstractEntity implements PermissionInterface
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->reciever = RecieverType::NODE;
|
||||
$this->grant = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user