Skip to content
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

[AdminBundle]: add custom AclVoter #1037

Merged
merged 1 commit into from
Feb 23, 2016
Merged

Conversation

sandergo90
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets

When upgrading to symfony 3, the custom acl permission map does not get called anymore. Therefore our permissions like Publish and Unpublish don't work anymore.

By adding a AclVoter we can provide our own permission map as an extension. As of symfony 3 there is also now the class AbstractMaskBuilder and MaskBuilderRetrievalInterface. We can remove our own methods and just extend these classes.

jockri pushed a commit that referenced this pull request Feb 23, 2016
[AdminBundle]: add custom AclVoter
@jockri jockri merged commit f8cffe2 into Kunstmaan:sf3 Feb 23, 2016
@jockri jockri modified the milestones: 3.5.1, 4.0.0 Feb 23, 2016
@sandergo90 sandergo90 deleted the fix#acl branch July 7, 2016 06:36
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.

None yet

2 participants