Skip to content

Commit

Permalink
Merge branch 'develop' into feature/139-add-user-deploy-support
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld authored Feb 24, 2023
2 parents 128f691 + f69f14a commit a4589bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
// collaboration
"gruntfuggly.todo-tree",
"aaron-bond.better-comments",
"github.vscode-pull-request-github",

Expand All @@ -15,11 +14,8 @@
// Formatting & colors
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"sergey-agadzhanov.ampscript",

// Markdown / Readme.md
"yzhang.markdown-all-in-one",
"davidanson.vscode-markdownlint",
"joernberkefeld.markdown-preview-bitbucket-innersource"
]
}
10 changes: 8 additions & 2 deletions lib/metadataTypes/Role.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,14 @@ class Role extends MetadataType {
// Reached end: write permission into this.allPermissions
if (element.Operation) {
const permSplit = _permission.split(' > ');
const basePermission = permSplit.shift();
const permissionName = permSplit.join(' > ');
const permOperation = permSplit.pop();
let basePermission = permSplit.shift();
if (basePermission === 'Interactive Marketing Hub') {
basePermission = 'Salesforce Marketing Cloud';
}
const permissionName = `<nobr><b>${permSplit.join(
' > '
)}</b> > ${permOperation}</nobr>`;
if (!this.allPermissions[basePermission]) {
this.allPermissions[basePermission] = {};
}
Expand Down

0 comments on commit a4589bc

Please sign in to comment.