configuration.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Warning: this doc page is not up to date and will be removed soon.
  2. ==================================================================
  3. This page will be removed soon, as it's content is being improved and moved to
  4. other pages of the documentation. Please refer to each section's documentation for up-to-date
  5. information on SonataAdminBundle configuration options.
  6. Configuration
  7. -------------
  8. Configuration options
  9. * ``security``
  10. * ``handler``
  11. * ``sonata.admin.security.handler.role`` : The default value
  12. * ``sonata.admin.security.handler.acl`` : Use this service if you want ACL
  13. Full Configuration Options
  14. --------------------------
  15. .. configuration-block::
  16. .. code-block:: yaml
  17. sonata_admin:
  18. security:
  19. handler: sonata.admin.security.handler.role
  20. acl_user_manager: fos_user.user_manager # Name of the user manager service used to retrieve ACL users
  21. options:
  22. html5_validate: false # does not use html5 validation
  23. confirm_exit: false # disable confirmation when quitting with unsaved changes
  24. # set to true to persist filter settings per admin module in the user's session
  25. persist_filters: false