]> source.dussan.org Git - sonarqube.git/commitdiff
rename permission "Provision Projects" to "Create Projects"
authorStas Vilchik <vilchiks@gmail.com>
Wed, 3 Feb 2016 15:57:57 +0000 (16:57 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 3 Feb 2016 15:58:07 +0000 (16:58 +0100)
server/sonar-server/src/main/java/org/sonar/server/project/ws/ProjectsWs.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/ProvisionedAction.java
server/sonar-server/src/main/resources/org/sonar/server/permission/ws/search_global_permissions-example.json
server/sonar-server/src/test/java/org/sonar/server/permission/ws/SearchGlobalPermissionsActionTest.java
server/sonar-web/test/json/permissions/global-permissions.json
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 038b2f28783eff37ca99614c750af8f1e45808d2..25a4e8a0e959d23383dad49f481c727c135f4119 100644 (file)
@@ -97,7 +97,7 @@ public class ProjectsWs implements WebService {
 
   private void defineCreateAction(NewController controller) {
     WebService.NewAction action = controller.createAction("create")
-      .setDescription("Provision a project. Requires Provision Projects permission")
+      .setDescription("Create a project. Requires Create Projects permission")
       .setSince("4.0")
       .setPost(true)
       .setHandler(RailsHandler.INSTANCE)
index a94678222e34544f95f156876c431f67798b4128..93be6278dfbe362fe2572da4cb3e787163dfcc4e 100644 (file)
@@ -56,7 +56,7 @@ public class ProvisionedAction implements ProjectsWsAction {
       .createAction("provisioned")
       .setDescription(
         "Get the list of provisioned projects.<br /> " +
-          "Require 'Provision Projects' permission.")
+          "Require 'Create Projects' permission.")
       .setSince("5.2")
       .setResponseExample(Resources.getResource(getClass(), "projects-example-provisioned.json"))
       .setHandler(this)
index 25a11466f025f40ca116ec6626d3312afab46028..d5e519ab599df373907681632cb26bc0728bf073 100644 (file)
@@ -37,7 +37,7 @@
     },
     {
       "key": "provisioning",
-      "name": "Provision Projects",
+      "name": "Create Projects",
       "description": "Ability to initialize project structure before first analysis.",
       "usersCount": 1,
       "groupsCount": 1
index 2f1651e9ecae412e17c51f85e550a008f6c9c795..23e444fde7e9806c9488610f0d03bed3d28954f1 100644 (file)
@@ -132,7 +132,7 @@ public class SearchGlobalPermissionsActionTest {
     i18n.put("global_permissions.scan", "Execute Analysis");
     i18n.put("global_permissions.scan.desc", "Ability to execute analyses, and to get all settings required to perform the analysis, " +
       "even the secured ones like the scm account password, the jira account password, and so on.");
-    i18n.put("global_permissions.provisioning", "Provision Projects");
+    i18n.put("global_permissions.provisioning", "Create Projects");
     i18n.put("global_permissions.provisioning.desc", "Ability to initialize project structure before first analysis.");
   }
 
index d1802cd29200cd8af00296be07c02e27ec803804..fa3562a995da6b047319d3ceea6176b3570fb21b 100644 (file)
@@ -37,7 +37,7 @@
     },
     {
       "key": "provisioning",
-      "name": "Provision Projects",
+      "name": "Create Projects",
       "description": "Ability to initialize project structure before first analysis.",
       "usersCount": 0,
       "groupsCount": 1
index 630e5e805127706000f1a828d94fa76ac8b2e07f..54b342afeb58305d6784c8a1b560b61a80d0a3f6 100644 (file)
@@ -2840,7 +2840,7 @@ global_permissions.shareDashboard=Share Dashboards And Filters
 global_permissions.shareDashboard.desc=Ability to share dashboards, issue filters and measure filters.
 global_permissions.scan=Execute Analysis
 global_permissions.scan.desc=Ability to execute analyses, and to get all settings required to perform the analysis, even the secured ones like the scm account password, the jira account password, and so on.
-global_permissions.provisioning=Provision Projects
+global_permissions.provisioning=Create Projects
 global_permissions.provisioning.desc=Ability to initialize a project so its settings can be configured before the first analysis.
 
 #------------------------------------------------------------------------------