Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e5dfabe

Browse filesBrowse files
committed
Trying another way to solve this issue
1 parent f957675 commit e5dfabe
Copy full SHA for e5dfabe

File tree

4 files changed

+13
-43
lines changed
Filter options

4 files changed

+13
-43
lines changed

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddDebugAccessDecisionManagerPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddDebugAccessDecisionManagerPass.php
-42Lines changed: 0 additions & 42 deletions
This file was deleted.

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function load(array $configs, ContainerBuilder $container)
6565
$loader->load('templating_twig.xml');
6666
$loader->load('collectors.xml');
6767
$loader->load('guard.xml');
68+
$loader->load('security_debug.xml');
6869

6970
if (!class_exists('Symfony\Component\ExpressionLanguage\ExpressionLanguage')) {
7071
$container->removeDefinition('security.expression_language');
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" ?>
2+
3+
<container xmlns="http://symfony.com/schema/dic/services"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
6+
7+
<services>
8+
<service id="debug.security.access.decision_manager" class="Symfony\Component\Security\Core\Authorization\DebugAccessDecisionManager" decorates="security.access.decision_manager" public="false">
9+
<argument type="service" id="debug.security.access.decision_manager.inner" />
10+
</service>
11+
</services>
12+
</container>

‎src/Symfony/Bundle/SecurityBundle/SecurityBundle.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/SecurityBundle.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,5 @@ public function build(ContainerBuilder $container)
5656
$extension->addUserProviderFactory(new InMemoryFactory());
5757
$extension->addUserProviderFactory(new LdapFactory());
5858
$container->addCompilerPass(new AddSecurityVotersPass());
59-
$container->addCompilerPass(new AddDebugAccessDecisionManagerPass());
6059
}
6160
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.