Configure Access Control
Key Lesson: In this step, you learn how to create an **Access Control** component and confirm that it covers the Purchasing application's **Server Data Store** and Entities.
Create an Access Control component for the Purchasing app and confirm that its Server Data Store, PurchaseRequest, and PurchaseRequestItem are included in the generated access configuration.
1. Create an Access Control component
Section titled “1. Create an Access Control component”Follow these steps to create an access control object:
- Go to Design → Object Types → Access Control.
- Click +.
- Enter PurchasingAppAC and click OK.
2. Review Server Data Store coverage
Section titled “2. Review Server Data Store coverage”When the Access Control editor opens, it contains three tabs:
| Tab | Use in this tutorial |
|---|---|
| Entity | Available for Entity-specific access rules; not configured at this stage |
| ServerDataStore | Used to review the generated Server Data Store coverage |
| Process | Configured later in Connect and Test Request Submission |
In the ServerDataStore tab:
- Confirm that the app’s Server Data Store is linked to the Access Control object.
- Click the Server Data Store object name.
- When the code editor opens, check that
Purchasing.PurchaseRequestandPurchasing.PurchaseRequestItem, added to PurchaseDB, are listed. - Leave the generated logic unchanged until the required permissions have been verified.
Note
Generated restrictions do not grant permissions automatically. This step confirms object coverage only; do not add blanket permissions without verified access requirements. Access for authenticated clients to start PurchaseRequestProcessing is configured later in Connect and Test Request Submission.