@comity/acl-casl
v0.9.0
Published
CASL adapter for @comity/acl.
Readme
@comity/acl-casl
CASL adapter for @comity/acl authorization contracts.
Purpose
Provides a concrete implementation of the @comity/acl Authorizer contract using the CASL authorization library. Enables CASL-based policy evaluation within Comity applications.
Scope
This package:
- ✅ implements the
Authorizercontract using CASL abilities - ✅ exposes the
CaslAuthorizerclass for direct usage - ✅ integrates CASL ability definitions with Comity authorization context
This package does NOT:
- ❌ define authorization contracts (see @comity/acl)
- ❌ manage CASL ability persistence or loading
- ❌ provide policy authoring tools
Public API
CaslAuthorizer— CASL-backed authorizer implementation
No exhaustive reference; see docs for constraints.
Documentation
- docs/overview.md
- docs/conventions.md
Related Packages
- @comity/acl — authorization contracts
- @comity/primitives — foundational primitives
Status
Stable
Review Completed: 2026-08-28 Reviewer: Automated Audit Remediation Compliance Score: 100% (Green)
