I installed SonataAdminBundle, SonataUserBundle and FOSUserBundle, as well as CoopTilleulsAclSonataAdminExtensionBundle using ACLs in SonataAdminBundle.
Lists are filtered out by the owners and everything is in order. Client A can only see his items, client b is also just him. But if I am going to create a new object, I can also see elements of other clients.
Suppose a customer can create groups that will be used to assign products. This is done when creating the product in the form of a drop-down list (many-to-one relationship, as well as the presentation of products). But I also see groups created by another client.
How can I filter this out? I think I need to do filtering in ProductAdmin.php. Or should this happen in ProductsRepository.php? I canβt find any hints in the documents so far and will use any hint or link where I can find information for this.
symfony sonata-admin sonata
Michael
source share