Lets say:
Product A = product of group A or user's of group A
Product B = product of group B or user's of group B
I want that both could read,create,edit & delete products
but cannot edit products which is not owned by the group or user
and can be view or select by other user's in many2one field.