Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix CasbinJsGetPermissionForUser() #251

Merged
merged 5 commits into from
Apr 5, 2021
Merged

fix: fix CasbinJsGetPermissionForUser() #251

merged 5 commits into from
Apr 5, 2021

Conversation

Zxilly
Copy link
Contributor

@Zxilly Zxilly commented Apr 5, 2021

CasbinJsGetPermissionForUser has unexpected side affect. It will change the policy array.

Zxilly added 2 commits April 5, 2021 15:53
it has unexpected side affect, will change policies when it read from
that

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@Zxilly Zxilly requested review from kingiw, 00LT00, hsluoyz and keainye April 5, 2021 07:57
Zxilly added 3 commits April 5, 2021 16:01
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@hsluoyz hsluoyz merged commit 98c11f1 into casbin:master Apr 5, 2021
github-actions bot pushed a commit that referenced this pull request Apr 5, 2021
## [5.6.1](v5.6.0...v5.6.1) (2021-04-05)

### Bug Fixes

* fix CasbinJsGetPermissionForUser() ([#251](#251)) ([98c11f1](98c11f1))
@github-actions
Copy link

github-actions bot commented Apr 5, 2021

🎉 This PR is included in version 5.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants