diff options
author | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-07-11 13:10:45 +0200 |
---|---|---|
committer | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-07-11 13:10:45 +0200 |
commit | c245aaf4387a86a81fd3f97e745e7613e2fb989c (patch) | |
tree | 1a73bfb8349d3c60391084ac88664da7e600b2f1 | |
parent | 195d307840e5e4aaf6d64fab2227b5d8230108b3 (diff) | |
download | sonarqube-c245aaf4387a86a81fd3f97e745e7613e2fb989c.tar.gz sonarqube-c245aaf4387a86a81fd3f97e745e7613e2fb989c.zip |
SONAR-4453 Apply permission template to a list of resources in the internal permission service
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/platform/Platform.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java index 32a395d99eb..e06af738a31 100644 --- a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java +++ b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java @@ -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); |