Skip to content

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.

Follow these steps to create an access control object:

  1. Go to Design → Object Types → Access Control.
  2. Click +.
  3. Enter PurchasingAppAC and click OK.

When the Access Control editor opens, it contains three tabs:

TabUse in this tutorial
EntityAvailable for Entity-specific access rules; not configured at this stage
ServerDataStoreUsed to review the generated Server Data Store coverage
ProcessConfigured later in Connect and Test Request Submission

In the ServerDataStore tab:

  1. Confirm that the app’s Server Data Store is linked to the Access Control object.
  2. Click the Server Data Store object name.
  3. When the code editor opens, check that Purchasing.PurchaseRequest and Purchasing.PurchaseRequestItem, added to PurchaseDB, are listed.
  4. 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.