diff --git a/deploy/ui/form.json b/deploy/ui/form.json index 66e8cd199..131f1b18c 100644 --- a/deploy/ui/form.json +++ b/deploy/ui/form.json @@ -180,7 +180,14 @@ "type": "text", "jsonPath": "$.spec.auth.roleMapper.rolesProperties", "description": "When present, the RoleMapping Login Module will be configured to use the provided file. This property defines the fully-qualified file path and name of a properties file or resource which maps roles to replacement roles. The format is original_role=role1,role2,role3" - } + }, + { + "label": "Replace roles", + "type": "checkbox", + "jsonPath": "$.spec.auth.roleMapper.replaceRole", + "default": "false", + "description": "Whether to add to the current roles, or replace the current roles with the mapped ones. Replaces if set to true." + } ] }, { @@ -352,7 +359,14 @@ "type": "text", "jsonPath": "$.spec.auth.roleMapper.rolesProperties", "description": "When present, the RoleMapping Login Module will be configured to use the provided file. This property defines the fully-qualified file path and name of a properties file or resource which maps roles to replacement roles. The format is original_role=role1,role2,role3" - } + }, + { + "label": "Replace roles", + "type": "checkbox", + "jsonPath": "$.spec.auth.roleMapper.replaceRole", + "default": "false", + "description": "Whether to add to the current roles, or replace the current roles with the mapped ones. Replaces if set to true." + } ] }, @@ -425,13 +439,6 @@ "jsonPath": "$.spec", "visible": true, "fields": [ - { - "label": "Replace roles", - "type": "checkbox", - "jsonPath": "$.spec.auth.roleMapper.replaceRole", - "default": "false", - "description": "Whether to add to the current roles, or replace the current roles with the mapped ones. Replaces if set to true." - }, { "label": "Image tag", "type": "text",