🛡️ PermForge for Visual Studio CodeVisual Migration Studio for Salesforce Profiles to Modular Permission Sets & Permission Set Groups. 🌟 OverviewThe PermForge VS Code Extension brings the complete power of the PermForge migration engine directly inside your Visual Studio Code editor. With Salesforce officially retiring permissions on legacy Profiles, PermForge provides a visual, interactive workflow to audit, cluster, decompose, and verify your metadata with 100% mathematical access parity guarantee. 🚀 Key Features1. 🗂️ Salesforce Profiles Sidebar Explorer
2. 🎛️ PermForge Migration Studio (Interactive Webview Panel)
3. ⚡ File Explorer & Editor Context Menus
🛠️ Commands (Command Palette:
|
| Command | Description |
|---|---|
PermForge: Open Migration Studio |
Opens the full visual webview studio. |
PermForge: View Parity Matrix & Access Heatmap |
Opens side-by-side CRUDVM & FLS parity matrix. |
PermForge: Retrieve Profiles from Salesforce Org |
Downloads profiles directly from live authorized org. |
PermForge: Run End-to-End Enterprise Migration Pipeline |
Executes complete multi-stage automated pipeline. |
PermForge: Refresh Profiles |
Re-scans workspace for profiles and permission sets. |
PermForge: Analyze Profile Complexity & Risks |
Audits selected profile and outputs security metrics. |
PermForge: Decompose into Permission Sets & PSG |
Slices profile into domain permission sets and PSG. |
PermForge: Verify Access Parity |
Mathematically audits 100% parity against target PSG. |
PermForge: Sanitize & Strip Profile Permissions |
Cleans profile in-place while keeping layouts and credentials. |
PermForge: Cluster & Deduplicate Profiles |
Analyzes all profiles to extract a shared baseline. |
PermForge: Generate Visual HTML Audit Report |
Creates an interactive HTML security report. |
⚙️ Configuration Settings
| Setting | Default | Description |
|---|---|---|
permforge.profilesDirectory |
force-app/main/default/profiles |
Directory or glob pattern for profile metadata files. |
permforge.outputDirectory |
force-app/main/default |
Destination directory for generated Permission Sets and PSGs. |
permforge.clusteringThreshold |
0.75 |
Sharing frequency threshold for baseline inclusion (0.1 to 1.0). |
📦 Packaging & Installation
To package as a .vsix extension for local installation or distribution:
# Package the extension
npx @vscode/vsce package --no-dependencies
# Install in VS Code
code --install-extension vscode-permforge-1.0.0.vsix
📄 License
Distributed under the MIT License. Created by Vishal Parashar. Part of the open-source PermForge platform.