SONAR-4463 Changed join columns in permission template tables