vcomply-workflow-engine 2.9.46 → 2.9.47

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.
@@ -29311,20 +29311,21 @@
29311
29311
  };
29312
29312
  //view and manage roles and groups text changed with featureflag
29313
29313
  RoleListComponent.prototype.permissionText = function (permission) {
29314
+ console.log("permission", permission);
29314
29315
  if (permission == "view roles") {
29315
- if (this.featureflagrole) {
29316
- return "view permission groups";
29316
+ if (this.ff_rc_listing) {
29317
+ return "view permissions";
29317
29318
  }
29318
29319
  else {
29319
- return permission;
29320
+ return "view permission groups";
29320
29321
  }
29321
29322
  }
29322
29323
  if (permission == "manage roles") {
29323
- if (this.featureflagrole) {
29324
- return "Manage permission groups";
29324
+ if (this.ff_rc_listing) {
29325
+ return "Manage permissions";
29325
29326
  }
29326
29327
  else {
29327
- return permission;
29328
+ return "Manage permission groups";
29328
29329
  }
29329
29330
  }
29330
29331
  if (permission == "view groups") {