Registry / security / grpc-acl

grpc-acl

JSON →
library0.0.5jsnpmunverified

A gRPC-based ACL (Access Control List) microservice built on condor-framework and the acl library. Version 0.0.5, last updated in 2018, no recent releases. It wraps acl's memory, Redis, or MongoDB backends into a gRPC service. Differentiator: exposes acl methods via gRPC proto, enabling cross-language ACL management. Requires condor-framework >=1.5.1 and acl >=0.4.10 as peer dependencies. Minimal documentation, no active maintenance.

npm install grpc-acl
INSTALL
IMPORT
SIG · GRPC-ACL
G
grpc-acl
securityjavascriptv0.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AclServer
const AclServer = require('grpc-acl').AclServer;
import { AclServer } from 'grpc-acl';
Package uses CommonJS; no ESM exports. Use require() or compile with bundler.
grpc-acl (default)
const grpcAcl = require('grpc-acl');
Default export is the module, use .AclServer to access class.

Shows how to start a gRPC ACL server with memory backend using require().

const acl = require('acl'); const AclServer = require('grpc-acl').AclServer; const backend = new acl.memoryBackend(); const options = { host: 'localhost', port: 3000 }; const server = new AclServer(backend, options); server.start(); console.log('ACL gRPC server running on localhost:3000');
Debug
Known issues
deprecatedThis package is effectively abandoned; no updates since 2018. Consider alternatives like openfga or casbin.
fix
Migrate to a maintained authorization service.
affects: 0.0.5
gotchaPeer dependencies must be installed separately; they are not automatically installed.
fix
Run: npm install acl condor-framework
affects: >=0.0.1
gotchaThe aclProtoFilePath defaults to './acl.proto' which may conflict with your own proto files.
fix
Set options.aclProtoFilePath to a custom path if needed.
affects: >=0.0.1
Errors
Common errors & fixes
Cannot find module 'grpc-acl'
Package not installed or missing peer dependencies.
fix
Run: npm install grpc-acl acl condor-framework
TypeError: require(...).AclServer is not a constructor
Incorrect require pattern; missing .AclServer property.
fix
Use: const AclServer = require('grpc-acl').AclServer;
Upgrade
Version history
0.0.5latest on npm
Audit
Dependencies
aclrequiredPeer dependency providing the core ACL logic
condor-frameworkrequiredPeer dependency for gRPC server framework
Agent activity
19 hits · last 30 days
node
18
OpenAI (training)
1
Resources
grpc-acl — npm install grpc-acl · libregistry