Is it possible to prevent a user who has read-only acces to an object OWD Private creating child records with another owner of the parent record. I currently have a custom object where I can add child records. Both the parent and the child have read-only sharing rules. The user has no extra permissions for these objects nor read all data or view all checked. The user is not able to edit, delete childrecords but is still able to create childrecords. Am I missing something or do I need to create a trigger to prevent creation of new childrecords based on sharing of parent object?
The user should be able to create parent records and add childrecords. When the user is the owner. When the user is not the owner and sharing is read-only this should not be possible.
Thanks in advance.