SONAR-4366 Quality Gates: prepare for the permissions stuff