Skip to content

Rename DebugAccessDecisionManager to TraceableAccessDecisionManager #21085

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

Closed
javiereguiluz opened this issue Dec 28, 2016 · 2 comments
Closed
Labels
Good first issue Ideal for your first contribution! (some Symfony experience may be required) Security

Comments

@javiereguiluz
Copy link
Member

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3

A while ago we introduced DebugAccessDecisionManager to collect this information and display it in the Security panel of the Symfony Profiler. I though that Debug + ... was a better name than Traceable + .... However, every comparable class in Symfony is called Traceable + ..., so we should rename DebugAccessDecisionManager to TraceableAccessDecisionManager.

This issue is an "easy pick", so it can be solved by any developer wanting to make their first contribution to Symfony. But first, let's wait and see if the Symfony Core members agree with this proposal.

@javiereguiluz javiereguiluz added Good first issue Ideal for your first contribution! (some Symfony experience may be required) Security labels Dec 28, 2016
@Jean85
Copy link
Contributor

Jean85 commented Dec 29, 2016

I would like to work on this!
Since the class is marked as @internal, this means that it's not a BC break, right? Or should we leave a class with that name as a deprecated alias?

[EDIT] I'm working on my PR, and it's failing under PHP 7.x... it's normal since the subtree split is not updated or there's something else wrong?

@Jean85
Copy link
Contributor

Jean85 commented Dec 29, 2016

The PR seems OK, and also 2 core member commented and approved there.

Should we wait for further discussion?

nicolas-grekas added a commit that referenced this issue Jan 3, 2017
…sionManager (Jean85)

This PR was squashed before being merged into the 3.3-dev branch (closes #21088).

Discussion
----------

Rename DebugAccessDecisionManager to TraceableAccessDecisionManager

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #21085
| License       | MIT

[EDIT] No longer WIP, test passing. Also, test added to preserve BC with the SecurityBundle.

Commits
-------

c5e0e59 Rename DebugAccessDecisionManager to TraceableAccessDecisionManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue Ideal for your first contribution! (some Symfony experience may be required) Security
Projects
None yet
Development

No branches or pull requests

3 participants