]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4453 Apply permission template to a list of resources in the internal permissio...
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 11:10:45 +0000 (13:10 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 11:10:45 +0000 (13:10 +0200)
sonar-server/src/main/java/org/sonar/server/platform/Platform.java

index 32a395d99ebea2f71139afe455927c21c5178404..e06af738a31d63f404f27f5d92b586db2889c4c8 100644 (file)
@@ -50,6 +50,7 @@ import org.sonar.core.measure.MeasureFilterExecutor;
 import org.sonar.core.measure.MeasureFilterFactory;
 import org.sonar.core.metric.DefaultMetricFinder;
 import org.sonar.core.notification.DefaultNotificationManager;
+import org.sonar.core.permission.ComponentPermissionFacade;
 import org.sonar.core.persistence.*;
 import org.sonar.core.purge.PurgeProfiler;
 import org.sonar.core.qualitymodel.DefaultModelFinder;
@@ -257,6 +258,7 @@ public final class Platform {
     servicesContainer.addSingleton(NewUserNotifier.class);
     servicesContainer.addSingleton(DefaultUserFinder.class);
     servicesContainer.addSingleton(DefaultUserService.class);
+    servicesContainer.addSingleton(ComponentPermissionFacade.class);
     servicesContainer.addSingleton(InternalPermissionService.class);
     servicesContainer.addSingleton(InternalPermissionTemplateService.class);