# RafaelVidaurre/angular-permission

Simple route authorization via roles/permissions

Repository: https://github.com/RafaelVidaurre/angular-permission
Canonical: https://ross.abutalabs.com/products/angular-permission
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2019-04-01T15:01:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4383, "days_push": 2711, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1116, forks 205 (observed 2026-08-28T04:03:38.772000+00:00)

## What it is
angular-permission is an AngularJS library providing role and permission based access control for routes. It lets developers declaratively restrict which users can access specific routes based on assigned roles and permissions.

## Use cases
- restrict angular routes by user role
- add permission-based access control to an angularjs app
- redirect unauthorized users away from protected pages
- manage role definitions and permission maps in the frontend
- guard admin-only routes in a single-page application

## When to choose
- you are building or maintaining an AngularJS (1.x) application and need route-level authorization
- you want a simple, declarative role/permission model without writing custom route guards from scratch

## When to avoid
- you are using modern Angular (2+), React, or Vue - this library is AngularJS-only
- you need server-side authorization enforcement, which this client-side library cannot provide
- you are starting a new project, since AngularJS is end-of-life

## Facets
- artifact type: library
- maturity: maintenance
- function: authorization, routing, middleware
- domain: web-development, frontend, security
- platform: browser
- tags: angularjs, role-based-access-control, route-guards, permissions, nodejs

## Member repositories
- RafaelVidaurre/angular-permission (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:38.772000+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:56.667758+00:00, confidence not recorded.
  - readme: https://github.com/RafaelVidaurre/angular-permission (fetched 2026-08-28T04:03:38.772000+00:00, sha f3116ff4b376)
- Data as of 2026-08-30T08:39:29.467469+00:00.
