diff --git a/api/src/main/java/org/apache/cloudstack/api/command/admin/acl/CreateRoleCmd.java b/api/src/main/java/org/apache/cloudstack/api/command/admin/acl/CreateRoleCmd.java index 82cdcbd1d41..e4ff3e3666c 100644 --- a/api/src/main/java/org/apache/cloudstack/api/command/admin/acl/CreateRoleCmd.java +++ b/api/src/main/java/org/apache/cloudstack/api/command/admin/acl/CreateRoleCmd.java @@ -42,7 +42,7 @@ public class CreateRoleCmd extends RoleCmd { ///////////////////////////////////////////////////// @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, required = true, - description = "creates a role with this unique name", validations = {ApiArgValidator.NotNullOrEmpty}) + description = "Creates a role with this unique name", validations = {ApiArgValidator.NotNullOrEmpty}) private String roleName; @Parameter(name = ApiConstants.ROLE_ID, type = CommandType.UUID, entityType = RoleResponse.class, diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json index 88b236ceb18..a00357755a1 100644 --- a/ui/public/locales/en.json +++ b/ui/public/locales/en.json @@ -479,6 +479,7 @@ "label.baremetalmac": "Host MAC", "label.baremetalmemory": "Memory (in MB)", "label.based.on": "Based on", +"label.based.on.role.id.or.type": "Creates a role based on either role id or type", "label.basic": "Basic", "label.basic.mode": "Basic Mode", "label.basicsetup": "Basic setup", @@ -1827,6 +1828,7 @@ "label.rule.number": "Rule Number", "label.rules": "Rules", "label.rules.file": "Rules File", +"label.rules.file.to.import": "Rule defintions CSV file to import", "label.rules.file.import.description": "Click or drag rule defintions CSV file to import", "label.run.proxy.locally": "Run proxy locally", "label.running": "Running VMs", diff --git a/ui/src/views/iam/CreateRole.vue b/ui/src/views/iam/CreateRole.vue index 38156f84d48..6e4bb35f83c 100644 --- a/ui/src/views/iam/CreateRole.vue +++ b/ui/src/views/iam/CreateRole.vue @@ -22,7 +22,13 @@ :form="form" @submit="handleSubmit" layout="vertical"> - + + + {{ $t('label.name') }} + + + + - + + + {{ $t('label.description') }} + + + + - + + + {{ $t('label.based.on') }} + + + + + + + {{ $t('label.type') }} + + + + + + + {{ $t('label.role') }} + + + + - + + + {{ $t('label.rules.file') }} + + + + - + + + {{ $t('label.name') }} + + + + - + + + {{ $t('label.description') }} + + + + - + + + {{ $t('label.type') }} + + + + + + + {{ $t('label.forced') }} + + + +