Hello, In my project I am creating a means to share information with customers, as of right now controls have been put in so users can only see the data which they have created. However, if I have multiple customers, I only want a specific customer to see data associated to their company, such as specific orders. I am imagining a system that interacts with the user entity, and in some way determines the users association to a company, from there they can only see the data pertaining to them? This would apply to them creating information and information we create so that they can see it. Thanks in advance.
All can be achieved by entity access. Creating a reference to a company is indeed the way to go. You can attach all your other object through references to this company so you can use it in the access rules.