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: different behavior of glob_match from other casbin #254

Merged
merged 3 commits into from
Apr 30, 2022
Merged

fix: different behavior of glob_match from other casbin #254

merged 3 commits into from
Apr 30, 2022

Conversation

Nekotoxin
Copy link
Member

@Nekotoxin Nekotoxin commented Apr 26, 2022

Fix: #148
$CHOLE(OJX@FU71$Z57`M6
Reimplement the glob_match

@casbin-bot
Copy link
Member

@ffyuanda @Zxilly @elfisworking please review

@hsluoyz hsluoyz requested a review from leeqvip April 26, 2022 13:51
@hsluoyz
Copy link
Member

hsluoyz commented Apr 27, 2022

@Nekotoxin plz squash commits:

image

@leeqvip
Copy link
Member

leeqvip commented Apr 27, 2022

@Nekotoxin Although it passes the unit test cases, it does not fully implement globbing patterns,like: ? ,[...], \\ etc.

@Nekotoxin
Copy link
Member Author

@Nekotoxin Although it passes the unit test cases, it does not fully implement globbing patterns,like: ? ,[...], \\ etc.

ok. I will do it and add more testcases.

@Nekotoxin
Copy link
Member Author

Nekotoxin commented Apr 27, 2022

@Nekotoxin Although it passes the unit test cases, it does not fully implement globbing patterns,like: ? ,[...], \\ etc.

have updated, added more test and compared the bahavior with glob match in golang. plz review

@Nekotoxin Nekotoxin requested a review from leeqvip April 29, 2022 17:15
@hsluoyz
Copy link
Member

hsluoyz commented Apr 30, 2022

@leeqvip

@leeqvip leeqvip merged commit 49b6a04 into casbin:master Apr 30, 2022
github-actions bot pushed a commit that referenced this pull request Apr 30, 2022
## [1.16.3](v1.16.2...v1.16.3) (2022-04-30)

### Bug Fixes

* different behavior of glob_match from other casbin ([#254](#254)) ([49b6a04](49b6a04))
@github-actions
Copy link

🎉 This PR is included in version 1.16.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Nekotoxin Nekotoxin deleted the refactor_match() branch April 30, 2022 06:38
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.

glob_match() is different from other languages
4 participants