This post was originally published at How to Build a Role-based API with Firebase Authentication

Nearly every app requires an authorization system on top of an authentication system. We often need a fine-grained permissions model to allow only specific users to access certain resources while simultaneously restricting access for everyone else.

In this tutorial, Toptal Freelance Firebase Developer Joaquin Cid teaches how to build just such a system. Called a role-based authentication, we’ll learn how to implement this system in an API using Node.js and Firebase.

Continued here: 

This post was originally published at How to Build a Role-based API with Firebase Authentication