SONAR-2447 Fix permission templates