8000 feat: add updatefilteredpolicies by kilosonc · Pull Request #732 · casbin/casbin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add updatefilteredpolicies #732

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

Merged
merged 1 commit into from
Apr 17, 2021
Merged

feat: add updatefilteredpolicies #732

merged 1 commit into from
Apr 17, 2021

Conversation

kilosonc
Copy link
Contributor
@kilosonc kilosonc commented Mar 11, 2021

Signed-off-by: closetool c299999999@qq.com

Fix: #728

Fix: #731

@hsluoyz
Copy link
Member
hsluoyz commented Mar 11, 2021

@arafat-java @dahu33 plz review.

Copy link
Contributor
@dahu33 dahu33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great but I believe the current adapter API cannot preserve atomicity, please see my comment.

Signed-off-by: closetool <c299999999@qq.com>
@kilosonc
Copy link
Contributor Author
kilosonc commented Apr 9, 2021

@hsluoyz @dahu33 changed, plz reuview

@hsluoyz hsluoyz merged commit 2d182bf into casbin:master Apr 17, 2021
@github-actions
Copy link

🎉 This PR is included in version 2.28.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[Feature] Wipe all the existing policies on an object, and then set them to whatever is passed afresh Stronger UpdatePolicies() API
4 participants
0