A collection of SFDX-related permission sets and the package manifest required to deploy them to a Developer Hub org. Read below for installation instructions and description of what each permisison set does.
git clone https://github.com/sfdx-isv/sfdx-permission-sets.git
Skip this step if you've previously connected the Salesforce CLI in your environment to your Dev Hub.
sfdx force:auth:web:login -a YOUR_DEVHUB_ALIAS
sfdx force:mdapi:deploy -w 10 -d SFDX_Permission_Sets -u YOUR_DEVHUB_ALIAS
Permsets can also be assigned declaratively by going to Setup->Users->Permission Sets, opening the desired permission set, and clicking the Manage Assignments button.
sfdx force:user:permset:assign -u YOUR_DEVHUB_ALIAS -n "SFDX_Developer" -o "some.user@your-devhub.org"
- Grants users the ability to create and manage namespaced scratch orgs, create and delete second-generation packages, and promote managed second-generation packages from BETA to RELEASED
- Available for users with the Salesforce license type only
- Grants users the ability to create and manage namespaced scratch orgs
- Available for users with the Salesforce, Salesforce Platform, Salesforce Developer, and SLAF license types
- Grants users the ability to create and delete second-generation packages
- Available for users with the Salesforce, Salesforce Platform, Salesforce Developer, and SLAF license types
- Grants users the ability to promote second-generation packages from BETA to RELEASED
- Available for users with the Salesforce, Salesforce Platform, Salesforce Developer, and SLAF license types