I have an entity (company) associated to Administration.Account (which might not be a good idea?) I have a datagrid where I want to list only objects created by (owned) by users associated to the same company as $currentUser, but I'm struggling to pull it off. Any thoughts? Thanks
Good feedback, but a bit of clarification. I have the owner attribute saved. I don't think I can limit this at the data model level. I have offerings where on a specific (seller) page my datagrid will be limited to offerings that have been created by users associated to the same company as $currentUser. On another (buyer) page, there is a datagrid which contains all the offers which are available for purchase, which contains all the offers created by users not associated with $currentUser's company. Thanks for your thoughts.