tao-test/app/taoDacSimple/config/default/PermissionsService.conf.php

12 lines
331 B
PHP

<?php
use oat\taoDacSimple\model\PermissionsServiceFactory;
use oat\taoDacSimple\model\SyncPermissionsStrategy;
return new PermissionsServiceFactory(
[
PermissionsServiceFactory::OPTION_SAVE_STRATEGY => SyncPermissionsStrategy::class,
PermissionsServiceFactory::OPTION_RECURSIVE_BY_DEFAULT => false,
]
);