Skip to content

[SecurityBundle] Deprecate ACL related code #24318

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
Sep 26, 2017

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Sep 25, 2017

Q A
Branch? 3.4
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? yes
Tests pass? yes/no
Fixed tickets replaces #23811
License MIT
Doc PR todo

Needs symfony/acl-bundle#2

@@ -93,7 +89,8 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
// BC to be removed in 4.0
(new SymfonyStyle($input, $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output))->warning('Command "init:acl" is deprecated since version 3.4 and will be removed from SecurityBundle in 4.0. Register symfony/acl-bundle and use "acl:init" instead.');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Register symfony/acl-bundle and use ... -> Install symfony/acl-bundle and use ... ?

@@ -117,7 +117,8 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
// BC to be removed in 4.0
(new SymfonyStyle($input, $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output))->warning('Command "acl:set" is deprecated since version 3.4 and will be removed from SecurityBundle in 4.0. Register symfony/acl-bundle instead.');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Register symfony/acl-bundle instead. -> Install symfony/acl-bundle to use this command. ?

@chalasr chalasr force-pushed the security/deprecate-acl branch from 69eb41f to d45e296 Compare September 25, 2017 11:14
Copy link
Contributor

@ro0NL ro0NL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looking good :)

@chalasr chalasr force-pushed the security/deprecate-acl branch from d45e296 to 9d2137d Compare September 26, 2017 10:04
@chalasr chalasr force-pushed the security/deprecate-acl branch from 9d2137d to e3b7dc5 Compare September 26, 2017 11:11
@fabpot
Copy link
Member

fabpot commented Sep 26, 2017

Thank you @chalasr.

@fabpot fabpot merged commit e3b7dc5 into symfony:3.4 Sep 26, 2017
fabpot added a commit that referenced this pull request Sep 26, 2017
This PR was merged into the 3.4 branch.

Discussion
----------

[SecurityBundle] Deprecate ACL related code

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes/no
| Fixed tickets | replaces #23811
| License       | MIT
| Doc PR        | todo

Needs symfony/acl-bundle#2

Commits
-------

e3b7dc5 [SecurityBundle] Deprecate ACL related code
@chalasr chalasr deleted the security/deprecate-acl branch September 26, 2017 23:06
fabpot added a commit that referenced this pull request Sep 27, 2017
…tion (ogizanagi)

This PR was merged into the 3.4 branch.

Discussion
----------

[SecurityBundle] Add missing AclSchemaListener deprecation

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | yes <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

Missing from #24318

Commits
-------

d43c1f7 [SecurityBundle] Add missing AclSchemaListener deprecation
This was referenced Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants