acl-bundle icon indicating copy to clipboard operation
acl-bundle copied to clipboard

Get MaskBuilder from MaskBuilderRetrievalInterface

Open wouterj opened this issue 2 years ago • 1 comments

This makes it easier to use a custom MaskBuilder.

continues #15

wouterj avatar Jul 19 '21 09:07 wouterj

Hi, I've come up to this same issue when trying to set a custom permission in the command line. I was going to do a PR with a fix but found this PR. Can this be unlocked/merged?

How would I use my own MaskBuilder after this PR is merged? My fix does not use a MaskBuilderRetrievalInterface, it only adds Symfony\Component\Security\Acl\Permission\MaskBuilder class as a service named security.acl.mask.builder, uses it in the command construct and later in execute(...) and finally in my app I replace the definition of security.acl.mask.builder class with my MaskBuilder.

Thank you!

enekochan avatar Dec 01 '21 18:12 enekochan