casbin / node-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
https://casbin.org
Apache License 2.0
2.61k stars 218 forks source link

does the node-casbin support `subjectPriority`? #389

Closed vaseala closed 1 year ago

vaseala commented 2 years ago

This is the doc: https://casbin.org/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!

casbin-bot commented 2 years ago

@nodece @Zxilly @Shivansh-yadav13

hsluoyz commented 1 year ago

We need to port the subjectPriority feature from Go Casbin to Node-Casbin

Refer to how Go Casbin implements it

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 5.22.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: