CRM-14832 added permission check for entity relationship
Merge pull request #3467 from jaapjansma/CRM-14832

CRM-14832 added permission check for entity relationship