-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] Removed security-acl from the core #15013
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
Conversation
|
@@ -18,7 +18,8 @@ | |||
"require": { | |||
"php": ">=5.3.9", | |||
"symfony/security": "~2.8|~3.0.0", | |||
"symfony/http-kernel": "~2.2|~3.0.0" | |||
"symfony/http-kernel": "~2.2|~3.0.0", | |||
"symfony/security-acl": "~2.8|~3.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it really be a required dependency ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To preserve backwards compatibility as it's always available atm. Once the Acl Bundle is created, I can move this dependency there and put the bundle as dependency in the SecurityBundle. In 3.0 the BC layer (regarding config) + dependency can be removed.
@stof ah yes, I will update those accordingly |
btw, the not-removed replacement is the reason why tests are failing |
Lets see what happens after a push. For some reason my 2.8 keeps complaining about objects not being equal in form tests;
|
Thank you @iltar. |
As of today, the ACL subtree split is not managed by the splitter anymore as of branch 2.8. For older branches, it is still active, even if there are close to no activity on the component. I've also activated the ticketing system on the repo. |
@iltar The next step would be to create the AclBundle and remove everything related to Acl in core (you had some good ideas in the linked issue). |
Thanks! I will get on it. |
The
Security\Acl
is removed from the core and is loaded from its own repository. All tests were passing and this is fully backwards compatible. I have removed all but the Test files in the first step and added the dependency to verify the Test were still working with the package dependency. The second step was to remove the remaining test files and tests are still running for both the Bundle and the Framework. Once the Read-Only repository is a full standalone repository, this PR can be merged.Once this PR is merged, I can start working on splitting the SecurityBundle and extracting the ACL part to the AclBundle.
/cc @fabpot