Users can be assigned a security context. If a repository has the security context feature enabled, when a user adds a record, their security context value will be saved in the record's security context value. Only users with the same security context will be able to view the record.