Skip to content

Commit

Permalink
bundle_prepend_config.yml add `default_admin_services.security_hand…
Browse files Browse the repository at this point in the history
…ler: Smart\SonataBundle\Security\Handler\SmartSecurityHandler` option because `security.handler` don't work
  • Loading branch information
Louis Fortunier committed Oct 9, 2024
1 parent 9fd7610 commit d7f76ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGELOG
===================
## v2.8.2 - (2024-10-09)
### Fixed
- `bundle_prepend_config.yml` add `default_admin_services.security_handler: Smart\SonataBundle\Security\Handler\SmartSecurityHandler` option because `security.handler` don't work

## v2.8.1 - (2024-09-24)
### Added
- `list_api_call_route_url.html.twig` template to reduce the size of the url on `AbstractApiCallAdmin`
Expand Down
4 changes: 3 additions & 1 deletion config/bundle_prepend_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ sonata_admin:
default_translation_domain: 'admin'
default_admin_services:
label_translator_strategy: 'sonata.admin.label.strategy.underscore'
# added because security.handler don't work. if there is "No entity manager defined" error, check if your smartIsGranted function work properly
security_handler: Smart\SonataBundle\Security\Handler\SmartSecurityHandler
security:
handler: Smart\SonataBundle\Security\Handler\SmartSecurityHandler
handler: Smart\SonataBundle\Security\Handler\SmartSecurityHandler
extensions:
admin.extension.action_restart_api_call:
implements:
Expand Down

0 comments on commit d7f76ac

Please sign in to comment.