node-casbin icon indicating copy to clipboard operation
node-casbin copied to clipboard

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser

Results 59 node-casbin issues
Sort by recently updated
recently updated
newest added

I recently found Casbin while searching for help with managing Access Control List-type permissions for a multi-million user base where the policies need to be updatable in real-time. It looks...

question

Provides integrate doc in Casbin-Website for web framework. ## Things to do - [ ] express-authz - [ ] koa-authz - [ ] egg-authz - [ ] nest-authz - [...

I have problem when using node-casbin with react ```typescript import { newModel, Enforcer, newEnforcer } from 'casbin' import { AuthActionVerb, AuthPossession, CustomAuthActionVerb } from 'constants/enum/auth' import { ExecutionContext } from...

question

This is the doc: https://casbin.io/docs/priority-model#load-policy-with-priority-based-on-role-and-user-hierarchy Then I place the demo code to the online editor: https://casbin.org/casbin-editor/#53YFYAD7M When I click `RUN THE TEST` button, it throw `unsupported effect`!

enhancement

@nodece has suggested to add a flag for getting a `not-implemented` error from the adapter. I have a suggestion, add a flag for receiving all errors, meas if `true` we...

bug

The new Node-Casbin should have exactly 100% compatible API of the old code as now, except it's built on top of casbin.core.js: https://github.com/casbin/casbin.core.js Here's the plan: 1. A new project:...

enhancement

- added enforceWithMatcher & enforceExWithMatcher

## full example code https://github.com/issuebox/casbin-jsep ### policy.csv ``` p, alice, read p, bob, write ``` ## normal instance ### model1.conf ``` [request_definition] r = sub_data, act [policy_definition] p = sub,...

question

**Want to prioritize this issue? Try:** [![issuehunt-to-marktext](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/r/casbin/casbin) ------ **What's your scenario? What do you want to achieve?** I want to find a better way to implement this setup, as performance...

question

Work in progress. Initial idea from https://github.com/casbin/casbin/pull/1040 - [x] add basic functionality to the `roleManager` - [x] Fix related helper functions - [ ] Add documentation? - [x] Rebase from...