Fixed: [scope] api, picker and admin form consider 'active' property

* add active field in admin scope form
* issue: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/675
This commit is contained in:
2022-12-12 19:25:51 +01:00
parent 52512e45fc
commit 1eb1e2ec24
3 changed files with 25 additions and 1 deletions

View File

@@ -625,6 +625,7 @@ class ChillMainExtension extends Extension implements
],
[
'class' => \Chill\MainBundle\Entity\Scope::class,
'controller' => \Chill\MainBundle\Controller\ScopeApiController::class,
'name' => 'scope',
'base_path' => '/api/1.0/main/scope',
'base_role' => 'ROLE_USER',