add specific role for LIST and STAT

This commit is contained in:
2017-04-20 16:27:06 +02:00
parent 1bc93af148
commit be2edec605
5 changed files with 14 additions and 4 deletions

View File

@@ -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')
)
));
}