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 expression rule support #3

Merged
merged 12 commits into from
Feb 7, 2023
Merged

Conversation

StellarisW
Copy link
Member

What type of PR is this?

feat

What this PR does / why we need it (en: English/zh: Chinese):

en: add permission checks mode - "CUSTOM"
zh: 添加 permission 检测模式 - "自定义",用于解析 "A && B || C", "A && !B"等场景

Which issue(s) this PR fixes:

option.go Outdated Show resolved Hide resolved
option.go Show resolved Hide resolved
casbin.go Outdated Show resolved Hide resolved
casbin.go Show resolved Hide resolved
casbin.go Show resolved Hide resolved
@L2ncE
Copy link
Member

L2ncE commented Feb 6, 2023

Can you restore the code in the original example and create a new folder in the example to put the CUSTOM sample?REAMDE is the same.

README.md Outdated Show resolved Hide resolved
casbin.go Show resolved Hide resolved
casbin.go Outdated Show resolved Hide resolved
@li-jin-gou li-jin-gou merged commit bd37c58 into hertz-contrib:main Feb 7, 2023
@li-jin-gou
Copy link

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants