Configure Access Control
Key Lesson: In this step, you learn how to create an **Access Control** component and verify the default access configuration required for the app to load data and render screens at runtime.
Create an Access Control component for the Purchasing app and confirm that its Server Data Store and transactional entities are included in the automatically 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 Default Server Data Store Access
Section titled “2. Review Default Server Data Store Access”When the Access Control editor opens, it contains three tabs:
| Tab | Use in this tutorial |
|---|---|
| Entity | Not used at this stage |
| ServerDataStore | Used to review the generated Server Data Store access configuration |
| Process | Not used at this stage |
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 all the transactional entities created in the data model are listed.
- Leave the generated logic unchanged.