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

chore: sync with main branch #360

Merged
merged 4 commits into from Apr 15, 2022
Merged

chore: sync with main branch #360

merged 4 commits into from Apr 15, 2022

Conversation

Zxilly
Copy link
Contributor

@Zxilly Zxilly commented Apr 15, 2022

prepare for casbin/casbin-editor#73

@hsluoyz @nodece plz review

Shivansh-yadav13 and others added 4 commits April 15, 2022 13:34
* fix: *matcher result should be boolean or number* for  KeyGet2

* fix: updated error hint

* fix: basic keyGet2 test

* fix: basic_keyget2_policy.csv

(cherry picked from commit 0257078)
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
…#351)

Documentation indicates that there is existance of `getUsersForRoleInDomain` and
`getRolesForUserInDomain` api, but it does not yet exists. This commit implements these functions,
by aliasing them to existing rbac function that had already cater for domain apis, to increase and
improve dev experience.

re #304

(cherry picked from commit 4896ca2)
(cherry picked from commit e6a6d8a)
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@casbin-bot
Copy link
Member

@Gabriel-403 @kingiw @nodece please review

@Zxilly Zxilly merged commit 645ee4d into casbin:beta Apr 15, 2022
@github-actions
Copy link

🎉 This PR is included in version 5.14.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@hsluoyz
Copy link
Member

hsluoyz commented Apr 15, 2022

@Zxilly why make this PR and why make beta release? We already released v5.15.0 before your PR: https://github.com/casbin/node-casbin/releases/tag/v5.15.0

It's not reasonable to release v5.14.0-beta.4 after that.

@hsluoyz
Copy link
Member

hsluoyz commented Apr 15, 2022

@Zxilly BTW, don't merge your own PR by yourself. We need to have a code review.

@Zxilly
Copy link
Contributor Author

Zxilly commented Apr 15, 2022

@hsluoyz node-casbin beta is platform independent, and casbin-editor depends on that.
In fact, beta branch should be tagged as v6, maybe update later.
ref: #352

This is a sync PR and not introduce new feature, so I merge it directly. I will wait for review next time.

@hsluoyz
Copy link
Member

hsluoyz commented Apr 15, 2022

@Zxilly as I said in: #352 (comment) , it's not a good idea for current state to release v6.

@Zxilly Zxilly deleted the beta branch June 22, 2022 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants