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

feat: #357 Support keyMatch5 #359

Merged
merged 1 commit into from
Apr 15, 2022
Merged

feat: #357 Support keyMatch5 #359

merged 1 commit into from
Apr 15, 2022

Conversation

klren0312
Copy link
Contributor

@klren0312 klren0312 commented Apr 14, 2022

support the keyMatch5 model function

Fix: #357

@casbin-bot
Copy link
Member

@Gabriel-403 @Zxilly @kingiw @nodece please review

@CLAassistant
Copy link

CLAassistant commented Apr 14, 2022

CLA assistant check
All committers have signed the CLA.

@hsluoyz hsluoyz merged commit e6a6d8a into casbin:master Apr 15, 2022
github-actions bot pushed a commit that referenced this pull request Apr 15, 2022
# [5.15.0](v5.14.0...v5.15.0) (2022-04-15)

### Features

* [#357](#357) Support keyMatch5 ([#359](#359)) ([e6a6d8a](e6a6d8a))
@github-actions
Copy link

🎉 This PR is included in version 5.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Zxilly added a commit that referenced this pull request Apr 15, 2022
* fix: *matcher result should be boolean or number* for KeyGet2 (#347)

* 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>

* feat(rbac): add `getUsersForRoleInDomain` & `getRolesForUserInDomain` (#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)

* feat: #357 Support keyMatch5 (#359)

(cherry picked from commit e6a6d8a)

* test: use new utils

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>

Co-authored-by: Shivansh Yadav <yadavshivansh@gmail.com>
Co-authored-by: Chen Wen Kang <23054115+cwkang1998@users.noreply.github.com>
Co-authored-by: ZCDC_Ren <kuanglong0312@sina.com>
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.

Support keyMatch5
4 participants