bfg-common 1.5.511 → 1.5.512
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -271,7 +271,9 @@ export const networkPopupFieldsFunc = (
|
|
|
271
271
|
value: 'network-edit-settings',
|
|
272
272
|
testId: `${testId}-edit`,
|
|
273
273
|
permission:
|
|
274
|
-
networkType === '1'
|
|
274
|
+
networkType === '1'
|
|
275
|
+
? 'Networks.UpdateInfoSysx'
|
|
276
|
+
: 'Networks.UpdatePortGroup',
|
|
275
277
|
}
|
|
276
278
|
const remove = {
|
|
277
279
|
text: localization.common.remove,
|
|
@@ -313,7 +315,9 @@ export const networkPopupFieldsNewFunc = (
|
|
|
313
315
|
iconName: 'edit',
|
|
314
316
|
testId: `${testId}-edit`,
|
|
315
317
|
permission:
|
|
316
|
-
|
|
318
|
+
networkType === '1'
|
|
319
|
+
? 'Networks.UpdateInfoSysx'
|
|
320
|
+
: 'Networks.UpdatePortGroup',
|
|
317
321
|
}
|
|
318
322
|
const remove = {
|
|
319
323
|
text: localization.common.remove,
|
|
@@ -323,7 +327,7 @@ export const networkPopupFieldsNewFunc = (
|
|
|
323
327
|
textColor: '#ea3223',
|
|
324
328
|
testId: `${testId}-remove`,
|
|
325
329
|
permission:
|
|
326
|
-
|
|
330
|
+
networkType === '1' ? 'Networks.RemoveSysx' : 'Networks.RemovePortGroup',
|
|
327
331
|
// networkType === '1' ? 'network-vkernel-remove' : 'network-port-remove',
|
|
328
332
|
}
|
|
329
333
|
|