I want to add a role to manage the display of submenu in dashboard on sonataAdmiBundle.
Any idea?
you just have to define roles :
# config/packages/security.yaml security: providers: in_memory: memory: users: ryan: password: ryanpass roles: 'ROLE_USER' admin: password: kitten roles: 'ROLE_ADMIN' # ...
http://symfony.com/doc/current/security.html
Copyright © 2021 Jogjafile Inc.
you just have to define roles :
http://symfony.com/doc/current/security.html