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

Fail fast when using ACL as security handler without security.acl.provider service #7097

Closed
franmomu opened this issue Apr 21, 2021 · 2 comments · Fixed by #7458
Closed

Fail fast when using ACL as security handler without security.acl.provider service #7097

franmomu opened this issue Apr 21, 2021 · 2 comments · Fixed by #7458
Labels

Comments

@franmomu
Copy link
Member

Feature Request

From #7086

If a user is using ACL as security handler, then the sonata.admin.security.handler.acl service receives the security.acl.provider service as argument 3.

It would be nice to check if the user has chosen ACL as security handler and there is no security.acl.provider, then fail fast when parsing configuration.

@VincentLanglet
Copy link
Member

@franmomu
Copy link
Member Author

franmomu commented Aug 4, 2021

Yep, I think so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants