Skip to content

[Security] Fix TraceableAccessDecisionManager / DebugAccessDecisionManager BC layer #22664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2017
Merged

[Security] Fix TraceableAccessDecisionManager / DebugAccessDecisionManager BC layer #22664

merged 1 commit into from
May 11, 2017

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented May 7, 2017

Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #22657 (comment)
License MIT
Doc PR N/A

Same as #22657 for the renaming of DebugAccessDecisionManager into TraceableAccessDecisionManager. Indeed, I think we also require to redeclare the old DebugAccessDecisionManager for composer classmap-authoritative autoloading strategy & classmap dumper.

AppVeyor failures unrelated.

Edit: Re-thinking about it, it's probably not very common to dump the classmap and use the classmap-authoritative strategy when using those classes... That's to say: in debug mode/dev env. So it may be the reason why the class wasn't redeclared on contrary of DefinitionDecorator.

@fabpot
Copy link
Member

fabpot commented May 11, 2017

Thank you @ogizanagi.

@fabpot fabpot merged commit 5b123b9 into symfony:master May 11, 2017
fabpot added a commit that referenced this pull request May 11, 2017
…sDecisionManager BC layer (ogizanagi)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[Security] Fix TraceableAccessDecisionManager / DebugAccessDecisionManager BC layer

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22657 (comment)
| License       | MIT
| Doc PR        | N/A

Same as #22657 for the renaming of `DebugAccessDecisionManager` into `TraceableAccessDecisionManager`. Indeed, I think we also require to redeclare the old `DebugAccessDecisionManager` for composer `classmap-authoritative` autoloading strategy & classmap dumper.

AppVeyor failures unrelated.

Edit: Re-thinking about it, it's probably not very common to dump the classmap and use the `classmap-authoritative` strategy when using those classes... That's to say: in debug mode/dev env. So it may be the reason why the class wasn't redeclared on contrary of `DefinitionDecorator`.

Commits
-------

5b123b9 [Security] Fix TraceableAccessDecisionManager / DebugAccessDecisionManager BC layer
@ogizanagi ogizanagi deleted the fix/security/traceable_acc_dec_mgr_bc_layer branch May 11, 2017 17:18
@fabpot fabpot mentioned this pull request May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants