Skip to content

Commit dd103b3

Browse files
committed
Release 2.4.11
1 parent 5326f92 commit dd103b3

File tree

428 files changed

+24301
-30905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+24301
-30905
lines changed

assembly/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>console-backend</artifactId>
1111
<groupId>com.oracle.weblogic</groupId>
12-
<version>2.4.10</version>
12+
<version>2.4.11</version>
1313
</parent>
1414

1515
<packaging>pom</packaging>

build-electron.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2021, 2023, Oracle and/or its affiliates.
2+
# Copyright 2021, 2024, Oracle and/or its affiliates.
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44

55
do_docker_pull() {
@@ -148,8 +148,7 @@ then
148148
esac
149149
fi
150150

151-
# Legally, the thing we ship must be openjdk
152-
NEW_JAVA_BIN="$(run/get_java --openjdk)"
151+
NEW_JAVA_BIN="$(run/get_java)"
153152
if [ -n "$NEW_JAVA_BIN" ]
154153
then
155154
PATH="$NEW_JAVA_BIN$pathsep$PATH"

build-tools/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
<groupId>com.oracle.weblogic.console-backend</groupId>
88
<artifactId>build-tools</artifactId>
9-
<version>2.4.10</version>
9+
<version>2.4.11</version>
1010
<name>Build Tools</name>
1111

1212
<parent>
1313
<groupId>com.oracle.weblogic</groupId>
1414
<artifactId>console-backend</artifactId>
15-
<version>2.4.10</version>
15+
<version>2.4.11</version>
1616
</parent>
1717

1818
<properties>

electron/app/js/settings-editor.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const SettingsEditor = (() => {
4747
}
4848
}
4949
const otherList = [];
50+
preferences.value('roles.restrictContentBasedOnRoles', true);
5051
for (var key in data) {
5152
if (key === 'proxy') {
5253
preferences.value('networking.proxy', data[key]);
@@ -66,6 +67,9 @@ const SettingsEditor = (() => {
6667
else if (key === 'console.readTimeoutMillis') {
6768
preferences.value('networking.readTimeoutMillis', data[key]);
6869
}
70+
else if (key === 'console.restrictContentBasedOnRoles') {
71+
preferences.value('roles.restrictContentBasedOnRoles', data[key]);
72+
}
6973
else if (key === 'console.disableHostnameVerification') {
7074
preferences.value('networking.disableHostnameVerification', data[key]);
7175
}
@@ -92,6 +96,9 @@ const SettingsEditor = (() => {
9296
addValue(data, 'console.connectTimeoutMillis', preferences.value('networking.connectTimeoutMillis'));
9397
addValue(data, 'console.readTimeoutMillis', preferences.value('networking.readTimeoutMillis'));
9498
addValue(data, 'console.disableHostnameVerification', preferences.value('networking.disableHostnameVerification'));
99+
if (preferences.value('roles.restrictContentBasedOnRoles') !== true) {
100+
data['console.restrictContentBasedOnRoles'] = false;
101+
}
95102
const otherList = preferences.preferences?.other?.list;
96103
for (var pair of otherList) {
97104
data[pair.substring(0, pair.indexOf('='))]= pair.substring(pair.indexOf('=') + 1);
@@ -238,6 +245,35 @@ const SettingsEditor = (() => {
238245
]
239246
}
240247
},
248+
{
249+
id: 'roles',
250+
label: `${I18NUtils.get('wrc-electron.menus.settings.section.roles.label')}`,
251+
icon: 'preferences',
252+
form: {
253+
groups: [
254+
{
255+
'fields': [
256+
{
257+
label: `${I18NUtils.get('wrc-electron.menus.settings.restrict-content.label')}`,
258+
help: `${I18NUtils.get('wrc-electron.menus.settings.restrict-content.help')}`,
259+
key: 'restrictContentBasedOnRoles',
260+
type: 'radio',
261+
options: [
262+
{label: `${I18NUtils.get('wrc-electron.menus.preferences.yes')}`, value: true},
263+
{label: `${I18NUtils.get('wrc-electron.menus.preferences.no')}`, value: false}
264+
]
265+
},
266+
{
267+
type: 'button',
268+
key: 'save',
269+
buttonLabel: `${I18NUtils.get('wrc-electron.common.save')}`,
270+
hideLabel: 'true'
271+
}
272+
]
273+
}
274+
]
275+
}
276+
},
241277
{
242278
id: 'other',
243279
label: `${I18NUtils.get('wrc-electron.menus.settings.section.other-list.label')}`,

0 commit comments

Comments
 (0)