casbin / casbin.js

An authorization library that supports access control models like ACL, RBAC, ABAC in Frontend Javascript
https://casbin.org/docs/en/frontend
Apache License 2.0
165 stars 37 forks source link

feat: support domain at auto mode #85

Closed Gabriel-403 closed 3 years ago

Gabriel-403 commented 3 years ago

Fix: #25, Fix: #66

hsluoyz commented 3 years ago

@nodece @Zxilly @kingiw plz review.

sagilio commented 3 years ago

@nodece @Zxilly @Gabriel-403 We may also need to add g/g1/g2 policies at CasbinJsGetPermissionForUser return. https://github.com/casbin/casbin/blob/aeeb9e6854e26bdbe22145e212b92c930df3036d/frontend.go#L27-L33

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 0.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: