0

I have two question about acl privileges editor.

  1. How can I hide default admin entity? I found information that in my own admin entity I can use show_in_roles_matrix but this roles are added to admin automaticly. enter image description here

  2. How can I hange name admin entity in acl privileges editor? In admin I have a few entry whit the sam name but in other groups. For example:

    admin.news: class: App\Admin\NewsAdmin arguments: [~, App\Entity\News, ~, '@doctrine.orm.default_entity_manager'] tags: - { name: sonata.admin, manager_type: orm, group: 'Artykuły', label: 'Lista', audit: "true" }

    admin.menu: class: App\Admin\MenuAdmin arguments: [~, App\Entity\Menu, 'App\Controller\Admin\SortableController', '@doctrine.orm.default_entity_manager'] tags: - { name: sonata.admin, manager_type: orm, group: 'Menu', label: 'Lista' }

I admin panel that these informations is displayed correctly, but in acl editor grid is displayed incorrectly (screen) enter image description here

Best regards, Tomasz

Tomasz Filipek
  • 579
  • 1
  • 6
  • 17

0 Answers0