Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Cascade PeeweeDatastore delete #502

Merged
merged 1 commit into from Jan 16, 2017
Merged

Conversation

thedod
Copy link
Contributor

@thedod thedod commented Apr 21, 2016

Make sure PeeweeUserDatastore.delete_user() also deletes related UserRoles records.
It's a potential vulnerability (a future user might gain unintended roles if the id is reused), and the delete might even fail if User has other constraints (e.g. a profile record).

Make sure `PeeweeUserDatastore.delete_user()` also deletes related `UserRoles` records.
It's a potential vulnerability (a future user might gain unintended roles if the id is reused), and the delete might even fail if `User` has other constraints (e.g. a profile record).
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.283% when pulling b29d826 on thedod:patch-1 into 301fc03 on mattupstate:develop.

@mattupstate mattupstate merged commit 5b7fa77 into pallets-eco:develop Jan 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants