mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
add a ScopePickerType
and a UserPickerType
Those type allow easily to - pick a Scope/circle in form - pick a user in form
This commit is contained in:
@@ -49,9 +49,16 @@ class PermissionsGroup
|
||||
*/
|
||||
private $roleScopes;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
private $groupCenters;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->roleScopes = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
$this->groupCenters = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
}
|
||||
|
||||
public function getId()
|
||||
|
@@ -45,8 +45,15 @@ class RoleScope
|
||||
*/
|
||||
private $scope;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
private $permissionsGroups;
|
||||
|
||||
public function __construct() {
|
||||
$this->new = true;
|
||||
$this->permissionsGroups = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
}
|
||||
|
||||
public function getId()
|
||||
|
Reference in New Issue
Block a user