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

@@ -0,0 +1,18 @@
<?php
namespace Chill\MainBundle\Form\Utils;
/**
*
*
*/
interface PermissionsGroupFlagProvider
{
/**
* Return an array of flags
*
* @return string[] an array. Keys are ignored.
*/
public function getPermissionsGroupFlags(): array;
}