Skip to content

Commit e04d509

Browse files
committed
roles: fix ToC format and add link to overview
1 parent 32464cf commit e04d509

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

4-AccessControl/1-app-roles/README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
# A Node.js & Express web app calling Microsoft Graph using App Roles to implement Role-Based Access Control
22

3-
1. [Overview](#overview)
4-
1. [Scenario](#scenario)
5-
1. [Contents](#contents)
6-
1. [Prerequisites](#prerequisites)
7-
1. [Setup](#setup)
8-
1. [Registration](#registration)
9-
1. [Running the sample](#running-the-sample)
10-
1. [Explore the sample](#explore-the-sample)
11-
1. [About the code](#about-the-code)
12-
1. [More information](#more-information)
13-
1. [Community Help and Support](#community-help-and-support)
14-
1. [Contributing](#contributing)
15-
16-
![Build badge](https://identitydivision.visualstudio.com/_apis/public/build/definitions/a7934fdd-dcde-4492-a406-7fad6ac00e17/<BuildNumber>/badge)
3+
- [Overview](#overview)
4+
- [Scenario](#scenario)
5+
- [Contents](#contents)
6+
- [Prerequisites](#prerequisites)
7+
- [Setup](#setup)
8+
- [Step 1: Clone or download this repository](#step-1-clone-or-download-this-repository)
9+
- [Step 2: Install project dependencies](#step-2-install-project-dependencies)
10+
- [Registration](#registration)
11+
- [Choose the Azure AD tenant where you want to create your applications](#choose-the-azure-ad-tenant-where-you-want-to-create-your-applications)
12+
- [Register the client app (msal-node-webapp)](#register-the-client-app-msal-node-webapp)
13+
- [Define Application Roles](#define-application-roles)
14+
- [Running the sample](#running-the-sample)
15+
- [Explore the sample](#explore-the-sample)
16+
- [We'd love your feedback!](#wed-love-your-feedback)
17+
- [About the code](#about-the-code)
18+
- [Implementing role-based access control](#implementing-role-based-access-control)
19+
- [More information](#more-information)
20+
- [Community Help and Support](#community-help-and-support)
21+
- [Contributing](#contributing)
1722

1823
## Overview
1924

20-
This sample demonstrates a Node.js & Express web app featuring a todo list and secured with the [Microsoft Authentication Library for Node.js](). The app implements **Role-based Access Control** (RBAC) by using Azure AD **App Roles**. In the sample, a **dashboard** component allows signed-in users to see the tasks assigned to them and is only accessible by users under an **app role** named **TaskAdmin**.
25+
This sample demonstrates a Node.js & Express web app featuring a todo list and secured with the [Microsoft Authentication Library for Node.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node). The app implements **Role-based Access Control** (RBAC) by using Azure AD **App Roles**. In the sample, a **dashboard** component allows signed-in users to see the tasks assigned to them and is only accessible by users under an **app role** named **TaskAdmin**.
2126

2227
Access control in Azure AD can be done with **Security Groups** as well, as we will cover in the [next tutorial](../2-security-groups/README.md). **Security Groups** and **App Roles** in Azure AD are by no means mutually exclusive - they can be used in tandem to provide even finer grained access control.
2328

@@ -38,7 +43,7 @@ Access control in Azure AD can be done with **Security Groups** as well, as we w
3843
| `ReadmeFiles/` | Contains illustrations and screenshots. |
3944
| `App/appSettings.json` | Authentication parameters and settings |
4045
| `App/data/cache.json` | Stores MSAL Node token cache data. |
41-
| `App/data/db.json` | Stores todo list data. |
46+
| `App/data/db.json` | Stores todo list data. |
4247
| `App/app.js` | Application entry point. |
4348
| `App/routes/router.js` | Initializes msal-express-wrapper and handles routing. |
4449

0 commit comments

Comments
 (0)