Defining CDS Restrictions and Roles

Objective

After completing this lesson, you will be able to define CDS restrictions and roles

Define Restrictions and Roles in CDS

Define Restrictions and Roles in CDS

Business Example

In this exercise, you will now add authorization to your CAP application.

Exercise Options

You can perform this exercise in two ways:

  1. Practice hands on by using the following step-by-step instructions. You can perform the steps on your SAP BTP landscape.
  2. Recorded Simulation – follow the step-by-step instructions within the simulation by choosing the Start Exercise button.

Note

We strongly recommend performing the steps by practicing hands on.

Prerequisites

Before proceeding with the exercise, make sure you: You have added to your application a launch page for local testing. See Use a Local Launch Page.

Perform the Exercise

Open the exercise Add authorization in the tutorial and complete all steps.

Result

You enabled authentication by adding annotations to your service definition. You also added mock users for local testing.

Log in to track your progress & complete quizzes