-
Notifications
You must be signed in to change notification settings - Fork 4
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
adapter doesn't implement update extension #4
Comments
looks like the documentation totally skips mention of and that adapters need implementation of the update funcs --- in fact, looks like most adapters don't actually provide this at all... there is a separate adapter interface for these (though it annoyingly is missing the plural policy update func). i'll add this functionality in with some tests if this is blocking you, it also seems like you could delete (via remove policy) and add it again (add policy), but it's a bit ugly. alternatively impl it yourself until i get a chance to do it correctly on this end -- here's the sqlalchemy impl |
@thearchitector the docs will be improved: casdoor/casdoor-website#223 |
@zy7y added |
code
How do you update an existing policy? Looking forward to your reply. Thank you
The text was updated successfully, but these errors were encountered: