Guard for Role-based access control

This page summarizes the projects mentioned and recommended in the original post on /r/Angular2

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • cat-toolkit-angular-starter

    This repository is for Medium story Angular Starter Kit for Fast Prototype

  • I am working on an Angular Starter Kit (https://github.com/workcontrolgit/cat-toolkit-angular-starter) with boilerplate code for UI/UX Bootstrap, server-side pagination, sort, filter, and CRUD.

  • ngx-permissions

    Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • angular2-jwt

    Helper library for handling JWTs in Angular apps

  • The way I did it was I wrote a core services library that all of our angular applications will use so they can all easily get any updates. When the service gets loaded, it checks for the presence of the jwt (whether in a cookie or local storage), and validates it. If it's valid, I use the @auth0/angular-jwt package to do this, and also decode it, it grabs the list of roles from the token and updates the ngx-permissions service. This service is an entry point so the application doesn't load until this check happens.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts