LoopBack - Example implementation of advanced access control
This project is an example of how to implement advanced access control in a LoopBack server.
It is a combination of:
- Users partitioned by Realms
- Fine-grained access per group using loopback-component-access-groups
$ git clone https://github.com/fullcube/loopback-example-advanced-access-control.git
$ cd loopback-example-advanced-access-control
$ npm install
The project consist of a set of tests that prove that the access is as expected. You can run these by executing:
$ nps test
If you want to start the server in development mode:
$ npm start dev
- Add tests for manipulating roles/groups
- Add tests for logging in using access tokens
- Create ACLs based on groups + tests