In certain scenarios a user needs to customize a new role with ability to deploy the changes to the SCA website.
Solution
The following permissions will be sufficient to be able to run gulp deploy in a local machine.
- Navigate to Setup > Users/Roles > Manage Roles
- Click on Edit/Customize link next to the Role to customize
- Ensure the following permissions are set to the Full level:
Under the permissions tab > lists sub tab, ensure the following is set:
Documents and Files
Website (External) publisher - Under the Setup sub tab ,ensure the following is set
Allow JS / HTML Uploads
Custom Lists
Set Up Web Site
SuiteScript
Documents and Files
Web Services - Click Save