add flags to permissions groups

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.
This commit is contained in:
2018-09-07 16:24:36 +02:00
parent b1ae55ba80
commit b9a7314975
12 changed files with 160 additions and 2 deletions

View File

@@ -14,6 +14,10 @@ Chill\MainBundle\Entity\PermissionsGroup:
name:
type: string
length: 255
flags:
type: json
options:
default: '[]'
manyToMany:
roleScopes:
targetEntity: Chill\MainBundle\Entity\RoleScope