Commit 14ce322a authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Adaptations du code pour les rôles à la sauce sygal

parent ae4dd55e
Loading
Loading
Loading
Loading
+6 −2
Changes for config/autoload/unicaen-auth.global.php: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,7 +6,11 @@
 * drop this config file in it and change the values as you wish.
 */

use Application\Authentication\Storage\AppStorage;
use Application\Authentication\Storage\AppStorageFactory;
use Application\Entity\Db\Utilisateur;
use Application\Provider\IdentityProvider;
use Application\Provider\IdentityProviderFactory;

$settings = [
    /**
@@ -32,11 +36,11 @@ $settings = [
$config = [
    'service_manager' => [
        'invokables' => [
            'Application\Authentication\Storage\AppStorage' => 'Application\Authentication\Storage\AppStorage',
        ],
        'factories' => [
            AppStorage::class => AppStorageFactory::class,
            'UnicaenAuth\Authentication\Storage\Chain' => 'Application\Authentication\Storage\ChainServiceFactory',
            'Application\Provider\IdentityProvider' => 'Application\Provider\IdentityProviderFactory',
            IdentityProvider::class => IdentityProviderFactory::class,
        ]
    ],
    
+3
Changes for module/Application/config/others/doctorant.config.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ return [
        'factories' => [

        ],
        'aliases' => [
            DoctorantService::class => 'DoctorantService',
        ]
    ],
    'controllers'     => [
        'invokables' => [
+4 −2
Changes for module/Application/config/others/droits.config.php: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

use Application\Entity\Db\Privilege;
use Application\Entity\Db\Role;
use Application\Service\Role\RoleService;
use UnicaenAuth\Guard\PrivilegeController;
use UnicaenAuth\Provider\Privilege\Privileges;

@@ -101,8 +102,9 @@ return [
    ],

    'service_manager' => [
        'invokables' => array(
        ),
        'invokables' => [
            RoleService::class => RoleService::class,
        ],
        'factories' => [
        ],
    ],
+3
Changes for module/Application/config/others/ecole-doctorale.config.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -145,6 +145,9 @@ return [
        ],
        'factories' => [
        ],
        'aliases' => [
            EcoleDoctoraleService::class => 'EcoleDoctoraleService',
        ]
    ],
    'controllers'     => [
        'invokables' => [
+2 −2
Changes for module/Application/config/others/these.config.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ use Application\Form\Factory\MetadonneeTheseFormFactory;
use Application\Form\Factory\RdvBuTheseDoctorantFormFactory;
use Application\Form\Factory\RdvBuTheseFormFactory;
use Application\Provider\Privilege\ThesePrivileges;
use Application\Service\Acteur\ActeurService;
use Application\Service\Message\DiffusionMessages;
use Application\Service\ServiceAwareInitializer;
use Application\Service\These\TheseObserverService;
@@ -861,11 +862,10 @@ return [
    'service_manager' => [
        'invokables' => array(
            'TheseService'                 => TheseService::class,
//            'Assertion\\These'             => \Application\Assertion\These\TheseAssertion::class,
            'TheseObserverService' => TheseObserverService::class,
            ActeurService::class => ActeurService::class,
        ),
        'factories' => [
//            'Assertion\\These' => \Application\Assertion\These\TheseAssertionFactory::class,
        ],
        'abstract_factories' => [
            AssertionAbstractFactory::class,
Loading