Give your users specific roles and abilities. In this episode, I use Angular 5 with Firestore to build an role-based access control feature. https://angularfirebase.com/lessons/role-based-authorization-with-firestore-nosql-and-angular-5/
– Firestore rules: https://firebase.google.com/docs/firestore/security/get-started
– Guards: https://angular.io/guide/router
– Role-based access control: https://en.wikipedia.org/wiki/Role-based_access_control