Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Moving security-acl to an optional dependency #77

Merged
merged 3 commits into from
Nov 27, 2015

Conversation

weaverryan
Copy link
Contributor

Fixes #76

I believe symfony/security-acl isn't used by anything, but this bundle provides a cache layer for it (if you're using it).

This should also help doctrine/DoctrineBundle#486 (comment)

Thanks!

@xabbuh
Copy link
Member

xabbuh commented Nov 25, 2015

I think there should be an additional check in DoctrineCacheExtension::loadAcl() then which throws an exception in case you try to configure the ACL cache without having installed the component (otherwise your application may break at runtime).

@weaverryan
Copy link
Contributor Author

@xabbuh Good idea - I've added a check for a key interface: if you try to configure acl without that interface present (which comes from symfony/security-acl), we throw a clear exception.

@Tobion
Copy link

Tobion commented Nov 25, 2015

Code sniffer fails.

Otherwise 👍

@weaverryan
Copy link
Contributor Author

Code sniffer fixed - should be ready for merge now.

@wouterj
Copy link

wouterj commented Nov 25, 2015

👍 (btw, not having 3.0.0-beta1 released is a bug in the release process imo, so it should be fixed soon as well)

@xabbuh
Copy link
Member

xabbuh commented Nov 25, 2015

👍

@Tobion
Copy link

Tobion commented Nov 26, 2015

Similar PR for symfony: symfony/symfony#16694

fabpot added a commit to symfony/symfony that referenced this pull request Nov 26, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

[SecurityBundle] make ACL an optional dependency

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | -

Fixes #14718 (comment).
Together with doctrine/DoctrineCacheBundle#77 we do not have ACL in the symfony-standard 3.0 by default anymore.

Commits
-------

fc66283 [SecurityBundle] make ACL an optional dependency
@weaverryan
Copy link
Contributor Author

The PR on symfony/symfony got merged. 👍 for this one!

guilhermeblanco added a commit that referenced this pull request Nov 27, 2015
Moving security-acl to an optional dependency
@guilhermeblanco guilhermeblanco merged commit 030ff41 into doctrine:master Nov 27, 2015
@guilhermeblanco guilhermeblanco self-assigned this Nov 27, 2015
@weaverryan weaverryan deleted the acl-optional-dev branch November 27, 2015 16:35
@weaverryan
Copy link
Contributor Author

Thanks @guilhermeblanco for the merge and the quick release :)

fabpot added a commit to symfony/symfony-standard that referenced this pull request Nov 29, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

remove security-acl from dependencies

I guess it was just added in 82658ac to resolve unstable dependecies which should not be required anymore with doctrine/DoctrineCacheBundle#77

Commits
-------

c54b1a5 remove security-acl from dependencies
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants