diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f376de7a..39185d666 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ + + ??.??.?? ======== @@ -24,7 +26,6 @@ Non-breaking changes: - Rule `import-pgdb` now brings migration files (to reproduce database schema) by default (if available). - The `/api/samples/` doesn't fail anymore if no `pk` was given. - Added an EmailField to PrincipalInvestigator. This field is used in the 'paperless approval' feature (see next point.) -- Added a 'Solicite approval via e-mail' context menu option for sequencing requests that belong users with both their own and their pi's email address at `settings.EMAIL_HOST` (that means, we can rely on the email spoofing as in the 'compose email' menu that staff users already had). - Added new endpoint, `/api/requests//get_poolpaths/`, returns a dictionary with records' barcode as keys and pool names as values. 23.09.20 diff --git a/parkour_app/common/models.py b/parkour_app/common/models.py index 1065d48c8..44e513f05 100644 --- a/parkour_app/common/models.py +++ b/parkour_app/common/models.py @@ -120,7 +120,7 @@ def can_solicite_paperless_approval(self): and self.email.split("@")[1] == settings.EMAIL_HOST ): result_user = True - return result_user and result_pi + return False # TODO: switch hardcoded value for result_user and result_pi def __str__(self): this_user_email = self.email