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

Fixes for unique user names #722

Merged
merged 6 commits into from
Aug 27, 2019

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Aug 27, 2019

This fixes the migrator in case there are already duplicate user names, prevents some
errors if the constraint is violated and modifies the uniquify function so it can check if a name is globally unique.

Checklist:

If the UNIQUE constraint for user names is violated, gvmd will send a
GMP response instead of aborting and closing the connection.
Without this the migration would not work if there are already duplicate
user names.
@timopollmeier timopollmeier marked this pull request as ready for review August 27, 2019 07:56
@mattmundell mattmundell merged commit b5246fc into greenbone:master Aug 27, 2019
@timopollmeier timopollmeier deleted the unique-user-name branch June 9, 2020 06:52
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