r-adelaide / cheltham

Library management app for Salesforce
1 stars 10 forks source link

Grant access to Book object #2

Closed kyle-accenture closed 4 years ago

kyle-accenture commented 4 years ago

The newly created permission set provides access to the Book entity (Tab and Object). This will fix the problem of creating new scratch orgs without the required permission sets. In order to use the newly created permission set, use the force:user:permset:assign command when you create a new scratch org.

Usage via CLI example:

sfdx force:user:permset:assign -n Book_Access (This will just result in a Duplicate Assignment Error if called again once the user already the Book Access permissions)

Open your scratch org and verify that you can access the Book Tab