polizy
CommunityZanzibar-inspired access control for TS apps.
Authorbratsos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Polizy enables robust, relationship-based access control in Node.js/TypeScript apps, allowing complex permissions to be modeled and checked with type-safe schemas.
Core Features & Use Cases
- Embeddable library for direct integration into your application.
- Type-safe schema definitions to model subjects, objects, relations, and actions.
- Relationship-based access controls for RBAC, ReBAC, and Zanzibar-style models, including group and hierarchy support.
- Pluggable storage adapters (in-memory and Prisma) for flexible persistence.
Quick Start
Install polizy, define a schema, initialize the AuthSystem with a storage adapter, grant a permission, and perform a permission check.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: polizy Download link: https://github.com/bratsos/polizy/archive/main.zip#polizy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.