Skip to content

fix: g3 matcher function + tests - #13

Merged
hsluoyz merged 1 commit into
apache:masterfrom
Zat42:fix-g3-matcher-function
Mar 26, 2022
Merged

fix: g3 matcher function + tests#13
hsluoyz merged 1 commit into
apache:masterfrom
Zat42:fix-g3-matcher-function

Conversation

@Zat42

@Zat42 Zat42 commented Mar 24, 2022

Copy link
Copy Markdown
Contributor

Fix an issue where add_mapping_policies/2 is never called because if this.

I also added some tests for this.

@casbin-bot

Copy link
Copy Markdown

@ngoclinhng please review

@casbin-bot
casbin-bot requested a review from ngoclinhng March 24, 2022 08:40
@hsluoyz

hsluoyz commented Mar 24, 2022

Copy link
Copy Markdown
Member

@Zat42 hi, may I ask why you contribute to this project?

@Zat42

Zat42 commented Mar 24, 2022

Copy link
Copy Markdown
Contributor Author

@hsluoyz Hi, I plan to use it for some projects.

@hsluoyz

hsluoyz commented Mar 24, 2022

Copy link
Copy Markdown
Member

@Zat42 great!

@hsluoyz

hsluoyz commented Mar 24, 2022

Copy link
Copy Markdown
Member

@ngoclinhng plz review

@ngoclinhng ngoclinhng left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great job buddy!

@hsluoyz
hsluoyz merged commit d26a73c into apache:master Mar 26, 2022
@Zat42
Zat42 deleted the fix-g3-matcher-function branch April 11, 2022 14:29
github-actions Bot pushed a commit that referenced this pull request Oct 12, 2025
# 1.0.0 (2025-10-12)

### Bug Fixes

* add map support to request struct ([#8](#8)) ([5b0e701](5b0e701))
* add_policy at enforcer server hasn't handled a case where new_enforce comes. ([#6](#6)) ([a7478b8](a7478b8))
* enforcer_server ([#21](#21)) ([85efaa4](85efaa4))
* g3 matcher function + tests ([#13](#13)) ([d26a73c](d26a73c))

### Features

* add CI/CD automation with GitHub Actions and semantic-release ([#26](#26)) ([f775b8f](f775b8f))
* add EnforcerServer.reset_configuration/1 method ([#15](#15)) ([0e530da](0e530da))
* added persist adapters and ability to alter policies and mappings ([#19](#19)) ([d55e97a](d55e97a))
* keyMatch2 implementation ([#11](#11)) ([c68edd2](c68edd2))
* RBAC domain model ([#10](#10)) ([daafa79](daafa79))
* upgrade required elixir version to 1.13 ([#17](#17)) ([e828e3f](e828e3f))

### BREAKING CHANGES

* Drop support for elixir < 1.13

* chore: mix format

* chore: Add .tool-versions
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

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.

4 participants