Implement Roles and Authorization Checks In CAP
Beginner
10 min.
This tutorial shows you how to enable authentication and authorization for your CAP application.
You will learn
- How to add role restrictions to entities
- How to add a local user for testing
- How to access the application with a user and password
Prerequisites
- Before you start with this tutorial, you have two options:
- Follow the instructions in Step 16: Start from an example branch of Prepare Your Development Environment for CAP to checkout the
launchpage
branch.- Complete the previous tutorial Use a Local Launch Page with all its prerequisites.