From 681b650cbe0d219b15d766c945c8f4a3353860f2 Mon Sep 17 00:00:00 2001 From: Aurel Hudec Date: Wed, 17 Feb 2021 10:09:11 +0000 Subject: [PATCH 1/2] Fixed SOQL for permission sets. --- src/front-end/App.vue | 2 +- src/manifest.json | 2 +- src/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/front-end/App.vue b/src/front-end/App.vue index 6f0269f..eb75b9a 100644 --- a/src/front-end/App.vue +++ b/src/front-end/App.vue @@ -147,7 +147,7 @@ const profileName = profileQueryResult.records[0]['FullName']; // Get user permission sets - const permissionSetQuery = `SELECT PermissionSet.Name FROM PermissionSetAssignment WHERE AssigneeId = '${this.user.id}' AND PermissionSet.IsCustom = true AND PermissionSet.NamespacePrefix = ''`; + const permissionSetQuery = `SELECT PermissionSet.Name FROM PermissionSetAssignment WHERE AssigneeId = '${this.user.id}' AND PermissionSet.IsCustom = true AND PermissionSet.NamespacePrefix = '' AND PermissionSet.IsOwnedByProfile = false`; const permissionSetQueryResult = await this.$salesforceService.query(permissionSetQuery); if (!permissionSetQueryResult.success) { this.alert = permissionSetQueryResult.error; diff --git a/src/manifest.json b/src/manifest.json index 9e624cf..bd52ea1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "Salesforce User Permission Report", "description": "Salesforce User Permission Report allows you to see a report of all the permissions a user has and where they are set.", - "version": "1.1.0", + "version": "1.1.1", "author": "Aurel Hudec", "homepage_url": "https://github.com/hudec117/sf-user-perm-report", "incognito": "split", diff --git a/src/package.json b/src/package.json index d7e887c..43890a4 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "salesforce-user-permission-report", - "version": "1.1.0", + "version": "1.1.1", "description": "Salesforce User Permission Report allows you to see a report of all the permissions a user has and where they are set.", "scripts": { "dev": "webpack --watch --config webpack.dev.js", From be238423f038ba8da3ee3416d6fcc571a4d7313c Mon Sep 17 00:00:00 2001 From: Aurel Hudec Date: Wed, 17 Feb 2021 10:12:00 +0000 Subject: [PATCH 2/2] Renamed manifest. --- src/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifest.json b/src/manifest.json index bd52ea1..0f08ea3 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,5 @@ { - "name": "Salesforce User Permission Report", + "name": "SUPR - Salesforce User Permission Report", "description": "Salesforce User Permission Report allows you to see a report of all the permissions a user has and where they are set.", "version": "1.1.1", "author": "Aurel Hudec",