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: Add globMatch as a global built-in matcher function #232

Merged
merged 3 commits into from
Nov 24, 2021

Conversation

dviry
Copy link
Contributor

@dviry dviry commented Nov 23, 2021

Fix: #231

Implemented as a global built-in function and added related unit tests.

@sagilio sagilio changed the title #231 add globMatch as a global built-in matcher function feat: Add globMatch as a global built-in matcher function Nov 23, 2021
@sagilio
Copy link
Member

sagilio commented Nov 23, 2021

LGTM, please fix here errors
image

You only need to change the message and add the -s param on commit, thank you!

git commit -s --amend -m "feat: Add globMatch as a global built-in matcher function"

@hsluoyz
Copy link
Member

hsluoyz commented Nov 23, 2021

@dviry plz fix:

image

cc @Leonardo-Ferreira

@dviry
Copy link
Contributor Author

dviry commented Nov 23, 2021

@hsluoyz Not sure how am I supposed to fix that when all tests completed successfully and the error message states:

The format of the analysis property sonar.login= is invalid

Leon Segal added 2 commits November 23, 2021 15:01
Signed-off-by: Leon Segal <leon.segal@hs-soft.com>
…in.NET into feature/231-globMatch

Signed-off-by: Leon Segal <leon.segal@hs-soft.com>
@hsluoyz
Copy link
Member

hsluoyz commented Nov 23, 2021

@Leonardo-Ferreira @sagilio can you resolve the Sonar error?

Copy link
Member

@sagilio sagilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sagilio
Copy link
Member

sagilio commented Nov 23, 2021

@dviry plz fix:

image

cc @Leonardo-Ferreira

We can skip sonar on PR

@hsluoyz hsluoyz merged commit 49cce4d into casbin:master Nov 24, 2021
@casbin-bot
Copy link
Member

@sagilio @xcaptain @huazhikui please review

@github-actions
Copy link

🎉 This PR is included in version 1.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dviry dviry deleted the feature/231-globMatch branch November 24, 2021 13:36
sagilio pushed a commit that referenced this pull request Feb 20, 2022
* #231 add globMatch as a global built-in matcher function

* feat: Add globMatch as a global built-in matcher function

Signed-off-by: Leon Segal <leon.segal@hs-soft.com>

Co-authored-by: Leon Segal <leon.segal@hs-soft.com>

(cherry picked from commit 49cce4d)
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.

feat: Add globMatch to BuildInFunctions
4 participants