-
-
Notifications
You must be signed in to change notification settings - Fork 197
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: update_filtered_policies #249
Conversation
@ffyuanda @Zxilly @elfisworking please review |
@leeqvip plz review |
4c10b79
to
84e2139
Compare
84e2139
to
4b3ded1
Compare
0b9c444
to
a2f3a4a
Compare
do we plan to use update filtered policies for |
@Shivansh-yadav13 no. Please add it to a popular ORM or database adapter listed in: https://casbin.org/docs/en/adapters . It's not very valuable to add it to a file adapter, because people usually don't use file adapter in production. |
@Shivansh-yadav13 plz fix: |
a2f3a4a
to
ca78278
Compare
@hsluoyz fixed. |
@Shivansh-yadav13 It is only necessary to test whether the policy in the instance memory is as expected, ignoring the failure of the adapter and watcher |
1336e9e
to
bce0e79
Compare
sorry I'm not able to understand why it goes to SyncedEnforcer |
@Shivansh-yadav13 see: https://github.com/casbin/pycasbin/blob/master/tests/test_management_api.py#L311 |
bce0e79
to
b24486b
Compare
4db42c7
to
b24486b
Compare
34d1a62
to
36544ba
Compare
32777f2
to
0e1a1ed
Compare
@Shivansh-yadav13 This PR has done too many things, can you divide it into multiple PRs? |
0e1a1ed
to
b24486b
Compare
@leeqvip I have removed the commits for adding linting. |
# [1.16.0](v1.15.5...v1.16.0) (2022-04-27) ### Features * update_filtered_policies ([#249](#249)) ([ca84dac](ca84dac))
🎉 This PR is included in version 1.16.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
* update_filtered_policies ([casbin#249](casbin#249)) ([ca84dac](casbin@ca84dac))
Fix: pycasbin/sqlalchemy-adapter#53