From 9a11c430ea5e34fad1d77145dc80f6d4e733e805 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Tue, 18 Feb 2025 01:11:09 +0000 Subject: [PATCH] adds todos --- app/web/db/crud.py | 1 + app/worker/main.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/web/db/crud.py b/app/web/db/crud.py index e70b01c..fa159e8 100644 --- a/app/web/db/crud.py +++ b/app/web/db/crud.py @@ -121,6 +121,7 @@ def get_user_group_names(db: Session, email: str) -> list[str]: """ given an email retrieves the user groups from the DB and then the email-domain groups from a global variable, the email does not need to belong to an existing user. """ + #TODO: the read: [group1, group2] permissions don't currently work if not email or not len(email) or "@" not in email: return [] # get user groups diff --git a/app/worker/main.py b/app/worker/main.py index b5e74a2..115ea9a 100644 --- a/app/worker/main.py +++ b/app/worker/main.py @@ -22,7 +22,7 @@ Redis = get_redis() USER_GROUPS_FILENAME = settings.USER_GROUPS_FILENAME -# PATCHES for new aa's functionality +# TODO: these are temporary PATCHES for new aa's functionality # logger.add("app/worker/worker_log.log", level="DEBUG") logger.remove = lambda x: print(f"logger.remove({x})")