CERT-Polska / mquery

YARA malware query accelerator (web frontend)
GNU Affero General Public License v3.0
413 stars 77 forks source link

257 user model refactor the config handling #433

Open michalkrzem opened 1 week ago

michalkrzem commented 1 week ago

Your checklist for this pull request

What is the current behaviour? db.get_mquery_config_key("default_role) when called returns different types

What is the new behaviour? I created UserModelConfig with properties like auth_default_roles, openid_client_id, query_allow_slow etc. and now i call db.config.default_role

Test plan

Closing issues

fixes #257