-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enfo…
…rcer (#122) * feat: add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enforcer Signed-off-by: Zxilly <zhouxinyu1001@gmail.com> * refactor: remove log output Signed-off-by: Zxilly <zhouxinyu1001@gmail.com> * refactor: rename rm to rmMap Signed-off-by: Zxilly <zhouxinyu1001@gmail.com> * style: format Signed-off-by: Zxilly <zhouxinyu1001@gmail.com> * refactor: rename to python-style variable Signed-off-by: Zxilly <zhouxinyu1001@gmail.com> * refactor: remove unnecessary statements Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
- Loading branch information
Showing
8 changed files
with
82 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .enforcer import * | ||
from .synced_enforcer import SyncedEnforcer | ||
from . import util |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .builtin_operators import * | ||
from .util import * | ||
from .expression import * | ||
from .util import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters