adds todos

This commit is contained in:
msramalho
2025-02-18 01:11:09 +00:00
parent 834e3d86da
commit 9a11c430ea
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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})")