mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fixed: [wopi] effectively use the ChillDocumentLockManager
This commit is contained in:
parent
b2dec3e587
commit
239a978adb
@ -15,6 +15,7 @@ use ChampsLibres\AsyncUploaderBundle\TempUrl\TempUrlGeneratorInterface;
|
|||||||
use ChampsLibres\WopiBundle\Contracts\AuthorizationManagerInterface;
|
use ChampsLibres\WopiBundle\Contracts\AuthorizationManagerInterface;
|
||||||
use ChampsLibres\WopiBundle\Contracts\UserManagerInterface;
|
use ChampsLibres\WopiBundle\Contracts\UserManagerInterface;
|
||||||
use ChampsLibres\WopiBundle\Service\Wopi as CLWopi;
|
use ChampsLibres\WopiBundle\Service\Wopi as CLWopi;
|
||||||
|
use ChampsLibres\WopiLib\Contract\Service\DocumentLockManagerInterface;
|
||||||
use ChampsLibres\WopiLib\Contract\Service\DocumentManagerInterface;
|
use ChampsLibres\WopiLib\Contract\Service\DocumentManagerInterface;
|
||||||
use Chill\WopiBundle\Service\Wopi\AuthorizationManager;
|
use Chill\WopiBundle\Service\Wopi\AuthorizationManager;
|
||||||
use Chill\WopiBundle\Service\Wopi\ChillDocumentLockManager;
|
use Chill\WopiBundle\Service\Wopi\ChillDocumentLockManager;
|
||||||
@ -47,7 +48,9 @@ return static function (ContainerConfigurator $container) {
|
|||||||
->alias(DocumentManagerInterface::class, ChillDocumentManager::class);
|
->alias(DocumentManagerInterface::class, ChillDocumentManager::class);
|
||||||
|
|
||||||
$services
|
$services
|
||||||
->set(ChillDocumentLockManager::class);
|
->set(ChillDocumentLockManager::class)
|
||||||
|
->decorate(DocumentLockManagerInterface::class)
|
||||||
|
;
|
||||||
|
|
||||||
$services
|
$services
|
||||||
->set(AuthorizationManager::class);
|
->set(AuthorizationManager::class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user