Skip to content

Commit

Permalink
Merge pull request #49 from hudec117/dev
Browse files Browse the repository at this point in the history
1.2.5 Fix
  • Loading branch information
hudec117 authored Nov 28, 2024
2 parents 3708fdb + 78e6287 commit e797bab
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 18 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ Features
- Consolidated view of user permissions
- Compatible with Classic and Lightning Experience

Roadmap
- ✅ Edge support
- ✅ Various QoL & UI improvements

## Download

This extension is compatible with: Chrome 88, Edge 88 or later.

<a href="https://chrome.google.com/webstore/detail/salesforce-user-permissio/gkibdicghcpcikhjpgjoijpobdipklnp">

![Chrome Web Store](https://storage.googleapis.com/chrome-gcs-uploader.appspot.com/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/mPGKYBIR2uCP0ApchDXE.png)
![Chrome Web Store](https://developer.chrome.com/static/docs/webstore/branding/image/mPGKYBIR2uCP0ApchDXE.png)

</a>

Expand All @@ -36,7 +32,7 @@ This extension is compatible with: Chrome 88, Edge 88 or later.

## Usage

Navigate to any user detail record in Classic or Lightning and click the "Open Permission Report" button next to the "Change Password" button.
Navigate to any user detail record in Classic or Lightning and click the "Open Permission Report" button next to the "View Summary" button.

## Screenshots

Expand Down
Binary file added src/bun.lockb
Binary file not shown.
4 changes: 3 additions & 1 deletion src/front-end/components/MetadataTypeCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
'flowAccesses': 'Flow Accesses',
'pageAccesses': 'Visualforce Accesses',
'recordTypeVisibilities': 'Record Type Visibilities',
'categoryGroupVisibilities': 'Category Group Visibilities'
'categoryGroupVisibilities': 'Category Group Visibilities',
'emailRoutingAddressAccesses': 'Email Routing Address Accesses',
'externalCredentialPrincipalAccesses': 'External Credential Principal Accesses',
};
export default {
Expand Down
4 changes: 3 additions & 1 deletion src/front-end/services/SalesforcePermissionsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ const PERMISSION_TYPE_NODE_IDENTIFIERS = {
'flowAccesses': 'flow',
'pageAccesses': 'apexPage',
'recordTypeVisibilities': 'recordType',
'categoryGroupVisibilities': 'dataCategoryGroup'
'categoryGroupVisibilities': 'dataCategoryGroup',
'emailRoutingAddressAccesses': 'name',
'externalCredentialPrincipalAccesses': 'externalCredentialPrincipal',
};

export default class SalesforcePermissionsService extends SalesforceService {
Expand Down
8 changes: 4 additions & 4 deletions src/front-end/services/SalesforceService.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const METADATA_ENDPOINT = '/services/Soap/m/60.0';
const PARTNER_ENDPOINT = '/services/Soap/u/60.0';
const QUERY_ENDPOINT = '/services/data/v60.0/query';
const TOOLING_QUERY_ENDPOINT = '/services/data/v60.0/tooling/query';
const METADATA_ENDPOINT = '/services/Soap/m/62.0';
const PARTNER_ENDPOINT = '/services/Soap/u/62.0';
const QUERY_ENDPOINT = '/services/data/v62.0/query';
const TOOLING_QUERY_ENDPOINT = '/services/data/v62.0/tooling/query';

export default class SalesforceService {
constructor(serverHost, sessionId) {
Expand Down
10 changes: 7 additions & 3 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "SUPR - Salesforce User Permission Report",
"short_name": "SUPR",
"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.2.4",
"version": "1.2.5",
"author": "Aurel Hudec",
"homepage_url": "https://github.com/hudec117/sf-user-perm-report",
"incognito": "split",
Expand All @@ -18,14 +18,18 @@
"cookies"
],
"host_permissions": [
"https://*.my.salesforce.com/"
"https://*.my.salesforce.com/",
"https://*.my.salesforce-setup.com/"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [ "https://*.my.salesforce.com/*" ],
"matches": [
"https://*.my.salesforce.com/*",
"https://*.my.salesforce-setup.com/*"
],
"all_frames": true,
"js": [ "content-script.js" ]
}
Expand Down
6 changes: 3 additions & 3 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "salesforce-user-perm-report",
"version": "1.2.4",
"version": "1.2.5",
"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",
Expand All @@ -20,8 +20,8 @@
"webpack-merge": "^5.7.3"
},
"dependencies": {
"bootstrap-vue": "^2.21.2",
"bootswatch": "^4.6.1",
"bootstrap-vue": "^2.23.1",
"bootswatch": "^4.6.2",
"vue": "^2.6.14"
}
}

0 comments on commit e797bab

Please sign in to comment.