forked from casbin/gorm-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(UpdatableAdapter(add method UpdateFilteredPolicies)): upgrade cab… (
casbin#103) * fix(UpdatableAdapter(add method UpdateFilteredPolicies)): upgrade cabin/v2 to v2.28.3, add the new method UpdateFilteredPolicies, otherwise e.UpdatePolicy(...) will cause panic. Signed-off-by: gaozhihui <[email protected]> * fix(adapter_test): in the test case, after e.UpdateFilteredPlicies, the order of policies maybe change, so add a new func to fix it.
- Loading branch information
Showing
4 changed files
with
176 additions
and
4 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
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