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 AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enforcer #122

Merged
merged 6 commits into from
Feb 23, 2021
Merged

Conversation

Zxilly
Copy link
Contributor

@Zxilly Zxilly commented Feb 20, 2021

Fix: #121
Fix: #103

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

…rcer

Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@hsluoyz
Copy link
Member

hsluoyz commented Feb 21, 2021

@llicour please review.

@hsluoyz hsluoyz changed the title feat: add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enfo… feat: add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enforcer Feb 21, 2021
casbin/core_enforcer.py Outdated Show resolved Hide resolved
casbin/core_enforcer.py Outdated Show resolved Hide resolved
casbin/core_enforcer.py Outdated Show resolved Hide resolved
casbin/core_enforcer.py Outdated Show resolved Hide resolved
casbin/enforcer.py Outdated Show resolved Hide resolved
casbin/model/policy.py Outdated Show resolved Hide resolved
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@Zxilly Zxilly requested a review from hsluoyz February 21, 2021 07:20
casbin/core_enforcer.py Outdated Show resolved Hide resolved
casbin/core_enforcer.py Outdated Show resolved Hide resolved
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@Zxilly Zxilly requested a review from hsluoyz February 21, 2021 09:33
@hsluoyz hsluoyz requested a review from leeqvip February 21, 2021 10:27
@hsluoyz
Copy link
Member

hsluoyz commented Feb 21, 2021

@techoner please review.

tests/test_enforcer.py Outdated Show resolved Hide resolved
tests/test_enforcer.py Outdated Show resolved Hide resolved
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
@Zxilly Zxilly requested a review from hsluoyz February 23, 2021 09:27
@hsluoyz
Copy link
Member

hsluoyz commented Feb 23, 2021

@techoner plz review.

@hsluoyz hsluoyz merged commit e01f393 into casbin:master Feb 23, 2021
github-actions bot pushed a commit that referenced this pull request Feb 23, 2021
# [0.18.0](v0.17.0...v0.18.0) (2021-02-23)

### Features

* add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enforcer ([#122](#122)) ([e01f393](e01f393))
@hsluoyz
Copy link
Member

hsluoyz commented Feb 23, 2021

🎉 This PR is included in version 0.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

casbin/core_enforcer.py Show resolved Hide resolved
casbin/core_enforcer.py Show resolved Hide resolved
@Zxilly Zxilly deleted the patch-1 branch February 25, 2021 12:13
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.

Regression case from 0.16.0 in enforcement policy Strange enforcer RBAC role context corruption
3 participants