Skip to content
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

Check for resources in use when deleting users. #33

Merged
merged 3 commits into from
Mar 23, 2018

Conversation

timopollmeier
Copy link
Member

When deleting users, check if resources are still in use by other users
after deleting resources that could use them. In this case, deleting the
user will fail.
The order in which resources owned by the deleted users are deleted has
been changed to ensure the referencing ones are deleted before the
referenced ones.

When deleting users, check if resources are still in use by other users
after deleting resources that could use them. In this case, deleting the
user will fail.
The order in which resources owned by the deleted users are deleted has
been changed to ensure the referencing ones are deleted before the
referenced ones.
@timopollmeier timopollmeier self-assigned this Mar 16, 2018
@janowagner janowagner merged commit ee6e3e5 into greenbone:master Mar 23, 2018
timopollmeier added a commit to timopollmeier/gvmd that referenced this pull request Mar 23, 2018
(Backport of PR greenbone#33)

When deleting users, check if resources are still in use by other users
after deleting resources that could use them. In this case, deleting the
user will fail.
The order in which resources owned by the deleted users are deleted has
been changed to ensure the referencing ones are deleted before the
referenced ones.
@timopollmeier timopollmeier deleted the delete_user-fix branch July 10, 2018 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants