Skip to content

Commit

Permalink
Merge pull request #493 from mattmundell/roles-before-permissions-8.0
Browse files Browse the repository at this point in the history
Check that roles exist earlier (8.0)
  • Loading branch information
timopollmeier authored Apr 23, 2019
2 parents b0df4e8 + 0e40d25 commit e004d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -17778,6 +17778,7 @@ check_db (int check_encryption_key)
create_tables ();
check_db_sequences ();
set_db_version (GVMD_DATABASE_VERSION);
check_db_roles ();
check_db_nvt_selectors ();
check_db_nvts ();
check_db_configs ();
Expand All @@ -17789,7 +17790,6 @@ check_db (int check_encryption_key)
goto fail;
if (check_db_report_formats_trash ())
goto fail;
check_db_roles ();
check_db_permissions ();
check_db_settings ();
cleanup_schedule_times ();
Expand Down

0 comments on commit e004d01

Please sign in to comment.