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: configure it with multiple policies #176

Closed
wants to merge 0 commits into from

Conversation

Gabriel-403
Copy link
Contributor

1.configure it with multiple policies
2.Add relevant unit tests
3.fix the regular matching problem of RABC
4.Make regular matching more accurate and flexible
If you need multiple policy definitions or multiple matcher, you can use like p2, m2. In fact, all of the above four sections can use multiple types and the syntax is r+number, such as r2, e2. By default these four sections should correspond one to one. Such as your r2 will only use matcher m2 to match policies p2.

const enforceContext = new EnforceContext('r2', 'p2', 'e2', 'm2');

@hsluoyz
Copy link
Member

hsluoyz commented Aug 27, 2021

@Gabriel-403 remove:

image

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

2 participants