-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
sql: deleting policies does not delete associated records with mysql driver #326
Labels
bug
Something is not working.
Milestone
Comments
johnwu96822
changed the title
Issue with SQL datastore: Deleting policies does not delete associated records
Issue on SQL impl: Deleting policies does not delete associated records
Dec 14, 2016
This happens on MySQL |
@johnwu96822 is this a critical issue for you? |
@arekkas Yes we have deployed Hydra for testing. If this issue doesn't get fixed and we modify policies (Hydra currently modifies a policy by deleting and recreating it), we'll get a bunch of policy records in those tables and we wouldn't know which record we'd get. |
see 070520d |
aeneasr
changed the title
Issue on SQL impl: Deleting policies does not delete associated records
sql: deleting policies does not delete associated records
Dec 26, 2016
aeneasr
changed the title
sql: deleting policies does not delete associated records
sql: deleting policies does not delete associated records with mysql driver
Dec 26, 2016
resolved by #329 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In MySQL there are four tables for ladon policies. When deleting a policy, it is only deleted from "ladon_policy" table, but the data for this policy in three other ladon_policy_* tables are not removed.
The text was updated successfully, but these errors were encountered: