Merge "[CDM] Throw SecurityException when the caller can't access the associations" into main