Skip to content

Commit

Permalink
disable paperless approval for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s committed Nov 22, 2023
1 parent e039dd6 commit 0606b4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
> Versioning is by dates (in `yy.mm.dd` format).
<!-- - 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 same server as the admin (`settings.SERVER_EMAIL`). -->

??.??.??
========

- Updated all dependencies.
- Subfolders were re-arranged. Basically, the old frontend (ExtJS), its tests (playwright), and the Django Project (`./parkour_app`) are now under `./backend`. Meanwhile, there's a new frontend under development, using ViteJS; and it's under `./frontend` subfolder. Also, there's a new Dockerfile, and container, for it.
- 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 same server as the admin (`settings.SERVER_EMAIL`).
- A new column (`Pool Paths`) was added tot he 'Libraries and Samples' section of the app, to easily find where each sample (or lib) was loaded.
- Staff users will find a new calendar icon that takes them to 'Duties', our first module using the new VueJS framework. Over there, we'll be keeping track of our rotations as to who is responsible of what (e.g. X person from Bioinformatics Facility is in charge of processing the short-read sequence data for ~3 months).

Expand Down
2 changes: 1 addition & 1 deletion backend/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def paperless_approval(self):
and self.email.split("@")[1] == settings.SERVER_EMAIL.split("@")[1]
):
result_user = True
return result_user and result_pi # and not self.is_pi
return False # result_user and result_pi # and not self.is_pi

def __str__(self):
this_user_email = self.email
Expand Down

0 comments on commit 0606b4a

Please sign in to comment.