Skip to content
Snippets Groups Projects
Commit a09e8521 authored by Robert Lange's avatar Robert Lange
Browse files

refs #22747 [finc] replace ZfcRbac by LmcRbacMvc for AuthorizationService imports

parent 9e60675f
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
*/ */
namespace finc\Rewrite; namespace finc\Rewrite;
use ZfcRbac\Service\AuthorizationServiceAwareTrait; use LmcRbacMvc\Service\AuthorizationServiceAwareTrait;
/** /**
* Ebl / Schweitzer Rewrite service for VuFind. * Ebl / Schweitzer Rewrite service for VuFind.
......
...@@ -66,7 +66,7 @@ class EblRewriteFactory implements FactoryInterface ...@@ -66,7 +66,7 @@ class EblRewriteFactory implements FactoryInterface
$config = $container->get('VuFind\Config\PluginManager')->get('config'); $config = $container->get('VuFind\Config\PluginManager')->get('config');
$rewrite = new EblRewrite($config); $rewrite = new EblRewrite($config);
$rewrite->setAuthorizationService( $rewrite->setAuthorizationService(
$container->get('ZfcRbac\Service\AuthorizationService') $container->get('LmcRbacMvc\Service\AuthorizationService')
); );
return $rewrite; return $rewrite;
} }
......
...@@ -65,7 +65,7 @@ class PermissionViewHelperFactory implements FactoryInterface ...@@ -65,7 +65,7 @@ class PermissionViewHelperFactory implements FactoryInterface
} }
return new Permission( return new Permission(
$container->get('VuFind\AuthManager'), $container->get('VuFind\AuthManager'),
$container->get('ZfcRbac\Service\AuthorizationService') $container->get('LmcRbacMvc\Service\AuthorizationService')
); );
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment