mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 16:43: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:
@@ -19,4 +19,8 @@ Chill\MainBundle\Entity\GroupCenter:
|
||||
permissionsGroup:
|
||||
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
manyToMany:
|
||||
users:
|
||||
targetEntity: Chill\MainBundle\Entity\User
|
||||
mappedBy: groupCenters
|
@@ -17,6 +17,11 @@ Chill\MainBundle\Entity\PermissionsGroup:
|
||||
manyToMany:
|
||||
roleScopes:
|
||||
targetEntity: Chill\MainBundle\Entity\RoleScope
|
||||
inversedBy: permissionsGroups
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
oneToMany:
|
||||
groupCenters:
|
||||
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
||||
mappedBy: permissionsGroup
|
||||
|
@@ -21,4 +21,8 @@ Chill\MainBundle\Entity\RoleScope:
|
||||
nullable: true
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
manyToMany:
|
||||
permissionsGroups:
|
||||
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
|
||||
mappedBy: roleScopes
|
||||
|
@@ -30,6 +30,7 @@ Chill\MainBundle\Entity\User:
|
||||
manyToMany:
|
||||
groupCenters:
|
||||
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
||||
inversedBy: users
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
|
||||
|
Reference in New Issue
Block a user