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)
.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)
},
{
"key": "provisioning",
- "name": "Provision Projects",
+ "name": "Create Projects",
"description": "Ability to initialize project structure before first analysis.",
"usersCount": 1,
"groupsCount": 1
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.");
}
},
{
"key": "provisioning",
- "name": "Provision Projects",
+ "name": "Create Projects",
"description": "Ability to initialize project structure before first analysis.",
"usersCount": 0,
"groupsCount": 1
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.
#------------------------------------------------------------------------------