7.0.7 • Published 8 months ago

@loopback/example-access-control-migration v7.0.7

Weekly downloads
77
License
MIT
Repository
github
Last release
8 months ago

@loopback/example-access-control-migration

This example is migrated from loopback-example-access-control, and uses the authentication and authorization system in LoopBack 4 to implement the access control.

Overview

This tutorial demonstrates how to implement a RBAC(Role Based Access Control) system and provides 5 endpoints to test different role's permissions. The tutorial of building it from a dummy application documented in auth-example-migration-tutorial

Setup

First, you'll need to install a supported version of Node:

Additionally, this tutorial assumes that you are comfortable with certain technologies, languages and concepts.

  • JavaScript (ES6)
  • REST

Lastly, you'll need to install the LoopBack 4 CLI toolkit:

npm i -g @loopback/cli

Try it out

If you'd like to see the final results of this tutorial as an example application, follow these steps:

  $ npm start

  Server is running at http://127.0.0.1:3000

Then try different roles' permissions by following the try it out section

Need help?

Check out our Slack and ask for help with this tutorial.

Bugs/Feedback

Open an issue in loopback-next and we'll take a look.

Contributions

Tests

Run npm test from the root folder.

Contributors

See all contributors.

License

MIT

7.0.7

8 months ago

7.0.6

9 months ago

7.0.5

10 months ago

7.0.4

11 months ago

7.0.3

1 year ago

7.0.2

1 year ago

7.0.1

1 year ago

7.0.0

1 year ago

6.1.5

1 year ago

6.1.4

2 years ago

6.1.2

2 years ago

6.1.1

2 years ago

6.1.3

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

5.0.9

2 years ago

5.0.10

2 years ago

5.0.8

2 years ago

5.0.7

2 years ago

5.0.6

3 years ago

5.0.5

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.0.0

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago