mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
add specific role for LIST and STAT
This commit is contained in:
@@ -160,8 +160,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
$container->prependExtensionConfig('security', array(
|
||||
'role_hierarchy' => array(
|
||||
'CHILL_PERSON_UPDATE' => array('CHILL_PERSON_SEE'),
|
||||
'CHILL_PERSON_CREATE' => array('CHILL_PERSON_SEE'),
|
||||
'CHILL_PERSON_SEE' => array(PersonVoter::STATS)
|
||||
'CHILL_PERSON_CREATE' => array('CHILL_PERSON_SEE')
|
||||
)
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user