How to redirect a user to a page depending on the role.
For example:
There is a module hello_world, and it has an action index (it prints the text "Hello World")
There is a module user, and in it there is action userList.
The administrator can view all these actions. User can only view the hello_world page.
How to do this with security.yml files.