chill-bundles/Resources/config/doctrine/PermissionsGroup.orm.yml
Julien Fastré 95145171da add a ScopePickerType and a UserPickerType
Those type allow easily to

- pick a Scope/circle in form
- pick a user in form
2017-04-25 17:29:25 +02:00

27 lines
716 B
YAML

Chill\MainBundle\Entity\PermissionsGroup:
type: entity
table: permission_groups
cache:
usage: NONSTRICT_READ_WRITE
region: acl_cache_region
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: string
length: 255
manyToMany:
roleScopes:
targetEntity: Chill\MainBundle\Entity\RoleScope
inversedBy: permissionsGroups
cache:
usage: NONSTRICT_READ_WRITE
oneToMany:
groupCenters:
targetEntity: Chill\MainBundle\Entity\GroupCenter
mappedBy: permissionsGroup