ZhiXiao-Lin / nestify

🚀 The rapid development framework for Node
MIT License
191 stars 25 forks source link

casbin #75

Closed rmros closed 5 years ago

rmros commented 5 years ago

notadd used casbin for RBAC and .... https://github.com/notadd/nt-casbin

casbin is good solution for authorization system

what you think if you change nestify code to use this?

ZhiXiao-Lin commented 5 years ago

notadd used casbin for RBAC and .... https://github.com/notadd/nt-casbin

casbin is good solution for authorization system

what you think if you change nestify code to use this?

I've evaluated all the popular permission validation packages of node before, but none of them satisfy me. I want to configure the permissions of roles dynamically when the program runs, not just once when it's initialized.

hsluoyz commented 5 years ago

Hi @ZhiXiao-Lin , Casbin has Management API and RBAC API to modify permissions or roles at run-time. It will satisfy your need. See details:

ZhiXiao-Lin commented 5 years ago

Hi @ZhiXiao-Lin , Casbin has Management API and RBAC API to modify permissions or roles at run-time. It will satisfy your need. See details:

Thank you. I'll study it carefully.