mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
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:
18
Form/Utils/PermissionsGroupFlagProvider.php
Normal file
18
Form/Utils/PermissionsGroupFlagProvider.php
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user