From a09e8521b44ae89ed91d60caed12c928efab1c06 Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Wed, 18 Jan 2023 14:36:58 +0100
Subject: [PATCH] refs #22747 [finc] replace ZfcRbac by LmcRbacMvc for
 AuthorizationService imports

---
 module/finc/src/finc/Rewrite/EblRewrite.php                     | 2 +-
 module/finc/src/finc/Rewrite/EblRewriteFactory.php              | 2 +-
 .../src/finc/View/Helper/Root/PermissionViewHelperFactory.php   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/finc/src/finc/Rewrite/EblRewrite.php b/module/finc/src/finc/Rewrite/EblRewrite.php
index cf4eb276f2a..ecfc18d732d 100644
--- a/module/finc/src/finc/Rewrite/EblRewrite.php
+++ b/module/finc/src/finc/Rewrite/EblRewrite.php
@@ -28,7 +28,7 @@
  */
 namespace finc\Rewrite;
 
-use ZfcRbac\Service\AuthorizationServiceAwareTrait;
+use LmcRbacMvc\Service\AuthorizationServiceAwareTrait;
 
 /**
  * Ebl / Schweitzer Rewrite service for VuFind.
diff --git a/module/finc/src/finc/Rewrite/EblRewriteFactory.php b/module/finc/src/finc/Rewrite/EblRewriteFactory.php
index dacd164cc3c..00288590dd7 100644
--- a/module/finc/src/finc/Rewrite/EblRewriteFactory.php
+++ b/module/finc/src/finc/Rewrite/EblRewriteFactory.php
@@ -66,7 +66,7 @@ class EblRewriteFactory implements FactoryInterface
         $config = $container->get('VuFind\Config\PluginManager')->get('config');
         $rewrite = new EblRewrite($config);
         $rewrite->setAuthorizationService(
-            $container->get('ZfcRbac\Service\AuthorizationService')
+            $container->get('LmcRbacMvc\Service\AuthorizationService')
         );
         return $rewrite;
     }
diff --git a/module/finc/src/finc/View/Helper/Root/PermissionViewHelperFactory.php b/module/finc/src/finc/View/Helper/Root/PermissionViewHelperFactory.php
index a2b6d31504a..65161477f5c 100644
--- a/module/finc/src/finc/View/Helper/Root/PermissionViewHelperFactory.php
+++ b/module/finc/src/finc/View/Helper/Root/PermissionViewHelperFactory.php
@@ -65,7 +65,7 @@ class PermissionViewHelperFactory implements FactoryInterface
         }
         return new Permission(
             $container->get('VuFind\AuthManager'),
-            $container->get('ZfcRbac\Service\AuthorizationService')
+            $container->get('LmcRbacMvc\Service\AuthorizationService')
         );
     }
 }
-- 
GitLab