Fix uncheck pull for the robot account generation, pull permission is still assigned

fix Uncheck pull for the robot account generation, pull permission is still assigned

Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
Yogi_Wang 2019-05-09 00:35:27 +08:00
parent 67c5542dd8
commit 48aac9ae2c
6 changed files with 11 additions and 11 deletions

View File

@ -51,7 +51,7 @@
[(ngModel)]="robot.access.isPush" name="isPush" [(ngModel)]="robot.access.isPush" name="isPush"
id="permission-push" class="clr-checkbox"> id="permission-push" class="clr-checkbox">
<label for="permission-push" class="clr-control-label"> <label for="permission-push" class="clr-control-label">
{{'ROBOT_ACCOUNT.PUSH_PERMISSION' | translate}} {{'ROBOT_ACCOUNT.PULL_PUSH_PERMISSION' | translate}}
</label> </label>
</clr-checkbox-wrapper> </clr-checkbox-wrapper>
</div> </div>

View File

@ -66,7 +66,7 @@
"EMAIL": "Email should be a valid email address like name@example.com.", "EMAIL": "Email should be a valid email address like name@example.com.",
"USER_NAME": "Cannot contain special characters and maximum length should be 255 characters.", "USER_NAME": "Cannot contain special characters and maximum length should be 255 characters.",
"FULL_NAME": "Maximum length should be 20 characters.", "FULL_NAME": "Maximum length should be 20 characters.",
"COMMENT": "Length of comment should be less than 20 characters.", "COMMENT": "Length of comment should be less than 30 characters.",
"CURRENT_PWD": "Current password is required.", "CURRENT_PWD": "Current password is required.",
"PASSWORD": "Password should be 8-20 characters long with at least 1 uppercase, 1 lowercase and 1 number.", "PASSWORD": "Password should be 8-20 characters long with at least 1 uppercase, 1 lowercase and 1 number.",
"CONFIRM_PWD": "Passwords do not match.", "CONFIRM_PWD": "Passwords do not match.",
@ -310,7 +310,7 @@
"DELETE": "Delete", "DELETE": "Delete",
"CREAT_ROBOT_ACCOUNT": "Creat Robot Account", "CREAT_ROBOT_ACCOUNT": "Creat Robot Account",
"PULL_PERMISSION": "Permission for Pull", "PULL_PERMISSION": "Permission for Pull",
"PUSH_PERMISSION": "Permission for Push", "PULL_PUSH_PERMISSION": "Permission for Push and Pull",
"FILTER_PLACEHOLDER": "Filter Robot Accounts", "FILTER_PLACEHOLDER": "Filter Robot Accounts",
"ROBOT_NAME": "Cannot contain special characters(~#$%) and maximum length should be 255 characters.", "ROBOT_NAME": "Cannot contain special characters(~#$%) and maximum length should be 255 characters.",
"ACCOUNT_EXISTING": "Robot Account is already exists.", "ACCOUNT_EXISTING": "Robot Account is already exists.",

View File

@ -66,7 +66,7 @@
"EMAIL": "El email debe ser una dirección válida como nombre@ejemplo.com.", "EMAIL": "El email debe ser una dirección válida como nombre@ejemplo.com.",
"USER_NAME": "Debe tener una longitud máxima de 255 caracteres y no puede contener caracteres especiales.", "USER_NAME": "Debe tener una longitud máxima de 255 caracteres y no puede contener caracteres especiales.",
"FULL_NAME": "La longitud máxima debería ser de 20 caracteres.", "FULL_NAME": "La longitud máxima debería ser de 20 caracteres.",
"COMMENT": "La longitud del comentario debería ser menor de 20 caracteres.", "COMMENT": "La longitud del comentario debería ser menor de 30 caracteres.",
"CURRENT_PWD": "Es obligatorio introducir la contraseña actual.", "CURRENT_PWD": "Es obligatorio introducir la contraseña actual.",
"PASSWORD": "La contraseña debería tener de 8 a 20 caracteres, con al menos 1 letra mayúscula, 1 letra minúscula y 1 número.", "PASSWORD": "La contraseña debería tener de 8 a 20 caracteres, con al menos 1 letra mayúscula, 1 letra minúscula y 1 número.",
"CONFIRM_PWD": "Las contraseñas no coinciden.", "CONFIRM_PWD": "Las contraseñas no coinciden.",
@ -311,7 +311,7 @@
"DELETE": "Delete", "DELETE": "Delete",
"CREAT_ROBOT_ACCOUNT": "Creat Robot Account", "CREAT_ROBOT_ACCOUNT": "Creat Robot Account",
"PULL_PERMISSION": "Permission for Pull", "PULL_PERMISSION": "Permission for Pull",
"PUSH_PERMISSION": "Permission for Push", "PULL_PUSH_PERMISSION": "Permission for Push and Pull",
"FILTER_PLACEHOLDER": "Filter Robot Accounts", "FILTER_PLACEHOLDER": "Filter Robot Accounts",
"ROBOT_NAME": "Cannot contain special characters(~#$%) and maximum length should be 255 characters.", "ROBOT_NAME": "Cannot contain special characters(~#$%) and maximum length should be 255 characters.",
"ACCOUNT_EXISTING": "Robot Account is already exists.", "ACCOUNT_EXISTING": "Robot Account is already exists.",

View File

@ -63,7 +63,7 @@
"EMAIL": "L'email doit être une adresse email valide comme name@example.com.", "EMAIL": "L'email doit être une adresse email valide comme name@example.com.",
"USER_NAME": "Ne peut pas contenir de caractères spéciaux et la longueur maximale doit être de 255 caractères.", "USER_NAME": "Ne peut pas contenir de caractères spéciaux et la longueur maximale doit être de 255 caractères.",
"FULL_NAME": "La longueur maximale doit être de 20 caractères.", "FULL_NAME": "La longueur maximale doit être de 20 caractères.",
"COMMENT": "La longueur des commentaires doit être inférieure à 20 caractères.", "COMMENT": "La longueur des commentaires doit être inférieure à 30 caractères.",
"CURRENT_PWD": "Le mot de passe actuel est requis.", "CURRENT_PWD": "Le mot de passe actuel est requis.",
"PASSWORD": "Le mot de passe doit être composé de 8 à 20 caractères avec au moins 1 majuscule, 1 minuscule et 1 chiffre.", "PASSWORD": "Le mot de passe doit être composé de 8 à 20 caractères avec au moins 1 majuscule, 1 minuscule et 1 chiffre.",
"CONFIRM_PWD": "Les mots de passe ne correspondent pas.", "CONFIRM_PWD": "Les mots de passe ne correspondent pas.",
@ -302,7 +302,7 @@
"DELETE": "Supprimer", "DELETE": "Supprimer",
"CREAT_ROBOT_ACCOUNT": "créat robot compte ", "CREAT_ROBOT_ACCOUNT": "créat robot compte ",
"PULL_PERMISSION": "Permission for Pull", "PULL_PERMISSION": "Permission for Pull",
"PUSH_PERMISSION": "Permission for Push", "PULL_PUSH_PERMISSION": "Permission for Push and Pull",
"FILTER_PLACEHOLDER": "Filter Robot Accounts", "FILTER_PLACEHOLDER": "Filter Robot Accounts",
"ROBOT_NAME": "ne peut pas contenir de caractères spéciaux(~#$%) et la longueur maximale devrait être de 255 caractères.", "ROBOT_NAME": "ne peut pas contenir de caractères spéciaux(~#$%) et la longueur maximale devrait être de 255 caractères.",
"ACCOUNT_EXISTING": "le robot est existe déjà.", "ACCOUNT_EXISTING": "le robot est existe déjà.",

View File

@ -66,7 +66,7 @@
"EMAIL": "Email deve ser um endereço de email válido como nome@exemplo.com.", "EMAIL": "Email deve ser um endereço de email válido como nome@exemplo.com.",
"USER_NAME": "Não pode conter caracteres especiais e o tamanho máximo deve ser de 255 caracteres.", "USER_NAME": "Não pode conter caracteres especiais e o tamanho máximo deve ser de 255 caracteres.",
"FULL_NAME": "Tamanho máximo deve ser de 20 caracteres.", "FULL_NAME": "Tamanho máximo deve ser de 20 caracteres.",
"COMMENT": "Tamanho do comentário deve ser menor que 20 caracteres.", "COMMENT": "Tamanho do comentário deve ser menor que 30 caracteres.",
"CURRENT_PWD": "A senha atual é obrigatória.", "CURRENT_PWD": "A senha atual é obrigatória.",
"PASSWORD": "Senha deve conter entre 8 e 20 caracteres com ao menos 1 maiuscula, 1 minuscula e 1 número.", "PASSWORD": "Senha deve conter entre 8 e 20 caracteres com ao menos 1 maiuscula, 1 minuscula e 1 número.",
"CONFIRM_PWD": "As senhas não são iguais.", "CONFIRM_PWD": "As senhas não são iguais.",
@ -308,7 +308,7 @@
"DELETE": "Remover", "DELETE": "Remover",
"CREAT_ROBOT_ACCOUNT": "CRIA robô conta", "CREAT_ROBOT_ACCOUNT": "CRIA robô conta",
"PULL_PERMISSION": "Permission for Pull", "PULL_PERMISSION": "Permission for Pull",
"PUSH_PERMISSION": "Permission for Push", "PULL_PUSH_PERMISSION": "Permission for Push and Pull",
"FILTER_PLACEHOLDER": "Filtro robot accounts", "FILTER_PLACEHOLDER": "Filtro robot accounts",
"ROBOT_NAME": "Não Pode conter caracteres especiais(~#$%) e comprimento máximo deveria ser 255 caracteres.", "ROBOT_NAME": "Não Pode conter caracteres especiais(~#$%) e comprimento máximo deveria ser 255 caracteres.",
"ACCOUNT_EXISTING": "Robô conta já existe.", "ACCOUNT_EXISTING": "Robô conta já existe.",

View File

@ -66,7 +66,7 @@
"EMAIL": "请使用正确的邮箱地址比如name@example.com。", "EMAIL": "请使用正确的邮箱地址比如name@example.com。",
"USER_NAME": "不能包含特殊字符且长度不能超过255。", "USER_NAME": "不能包含特殊字符且长度不能超过255。",
"FULL_NAME": "长度不能超过20。", "FULL_NAME": "长度不能超过20。",
"COMMENT": "长度不能超过20。", "COMMENT": "长度不能超过30。",
"CURRENT_PWD": "当前密码为必填项。", "CURRENT_PWD": "当前密码为必填项。",
"PASSWORD": "密码长度在8到20之间且需包含至少一个大写字符一个小写字符和一个数字。", "PASSWORD": "密码长度在8到20之间且需包含至少一个大写字符一个小写字符和一个数字。",
"CONFIRM_PWD": "密码输入不一致。", "CONFIRM_PWD": "密码输入不一致。",
@ -309,7 +309,7 @@
"DELETE": "删除", "DELETE": "删除",
"CREAT_ROBOT_ACCOUNT": "创建机器人账户", "CREAT_ROBOT_ACCOUNT": "创建机器人账户",
"PULL_PERMISSION": "Pull 权限", "PULL_PERMISSION": "Pull 权限",
"PUSH_PERMISSION": "Push 权限", "PULL_PUSH_PERMISSION": "Push和Pull 权限",
"FILTER_PLACEHOLDER": "过滤机器人账户", "FILTER_PLACEHOLDER": "过滤机器人账户",
"ROBOT_NAME": "不能包含特殊字符(~#$%)且长度不能超过255.", "ROBOT_NAME": "不能包含特殊字符(~#$%)且长度不能超过255.",
"ACCOUNT_EXISTING": "机器人账户已经存在.", "ACCOUNT_EXISTING": "机器人账户已经存在.",