Good morning to all,
I use Easy_Admin for the backoffice of a project.
However, I don't find information in the documents to manage two small details of importance. The visibility of the lists.
To sketch what I have:
easy_admin: site_name: '<h1 class="text-primary h4">Administration</h1>' design: menu: [.....] entities: Entity 1: =====> ROLE_1 class: App\Entity\Entity 1 label: Comptes local form: [....] list: [....] Entity 2: =====> ROLE_2 class: App\Entity\Entity 2 label: Comptes local form: [....] list: [....]
If I’m role 1, I only see Entity 1. That’s fine. If I am role 2, I see only Entity 2. That is the problem. In menu, I see only Entity 2. But the homepage displays me by default Entity 1.
I would like to understand how I can force the homepage to display me by default as the Entity 2 if I am role 2.
Similarly, when I click on site_name in my browser, it gives me the homepage with Entity 1 for role 2. I would also like to understand how I can force the display of Entity 2 for role 2.
Thank you for your help in my understanding.