feat(security): add approved rooms/users/domains as env variables #277
Reference in New Issue
Block a user
No description provided.
Delete Branch "276-add-approved-usersdomains-as-an-environment-variable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #276
Google Gemini AI Review
Decision: Reject
Change Score: 50%
Issue: Importing untested module
app.utils.helpers, but there are no tests for this module.Issue:
approved_usersin testsconfigcontains the keyapproved_users, but this key is not present in theconfigclass.Issue:
versionin testsconfigcontains the keyversion, but this key is not present in theconfigclass.Issue:
.envsettings not usedtest.shscript loads.envinstead of.env.test. Consequently, the test environment is not properly configured.Issue: Pytest-related dependency missing
pytest-monkeypatchis required for testing, but it is not currently installed.Suggestions:
app.utils.helpers.approved_usersandversionfromtests/test_config.py.test.shto load.env.test.pytest-monkeypatch.Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
97.3% Coverage on New Code
0.0% Duplication on New Code
See analysis details on SonarCloud