mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Flags can be added to permissions group to store some metadata. An interface `PermissionsGroupFlagProvider` allow to add some flag to the form which create/ edit permissions groups.
32 lines
839 B
YAML
32 lines
839 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
|
|
flags:
|
|
type: json
|
|
options:
|
|
default: '[]'
|
|
manyToMany:
|
|
roleScopes:
|
|
targetEntity: Chill\MainBundle\Entity\RoleScope
|
|
inversedBy: permissionsGroups
|
|
cache:
|
|
usage: NONSTRICT_READ_WRITE
|
|
cascade: [ persist ]
|
|
oneToMany:
|
|
groupCenters:
|
|
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
|
mappedBy: permissionsGroup
|
|
|