vcomply-workflow-engine 3.1.37 → 3.1.39
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.
- package/esm2020/lib/more-option/more-option.component.mjs +2 -2
- package/esm2020/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +4 -3
- package/fesm2015/vcomply-workflow-engine.mjs +4 -3
- package/fesm2015/vcomply-workflow-engine.mjs.map +1 -1
- package/fesm2020/vcomply-workflow-engine.mjs +4 -3
- package/fesm2020/vcomply-workflow-engine.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5392,11 +5392,12 @@ class GrcObjectContainerComponent {
|
|
|
5392
5392
|
this.hideElementsFromMoreOptions = new EventEmitter();
|
|
5393
5393
|
this.hideMoreOption = [];
|
|
5394
5394
|
this.authService.getUserInfo().subscribe((res) => {
|
|
5395
|
-
const
|
|
5396
|
-
if (
|
|
5395
|
+
const riskPermission = res?.roleActions[res?.roleActions?.findIndex((ele) => ele.moduleName == 'risk')];
|
|
5396
|
+
if (riskPermission?.isActive !== 1) {
|
|
5397
5397
|
this.hideMoreOption.push('LINK_RISK_CATEGORIES_RISKS');
|
|
5398
5398
|
}
|
|
5399
5399
|
this.hideElementsFromMoreOptions.emit(this.hideMoreOption);
|
|
5400
|
+
console.log('riskPermission ==>', riskPermission);
|
|
5400
5401
|
});
|
|
5401
5402
|
}
|
|
5402
5403
|
ngOnDestroy() {
|
|
@@ -29994,7 +29995,7 @@ class MoreOptionComponent {
|
|
|
29994
29995
|
tooltipTitle: 'LINK RISKS',
|
|
29995
29996
|
tooltipMessage: `This option lets you link a GRC Object with related risks.`,
|
|
29996
29997
|
checked: false,
|
|
29997
|
-
hidden:
|
|
29998
|
+
hidden: true,
|
|
29998
29999
|
code: 'LINK_RISK_CATEGORIES_RISKS',
|
|
29999
30000
|
},
|
|
30000
30001
|
{
|