Use shared access for synthetic breast follow-up

This commit is contained in:
Angel Capetillo Zavala
2026-11-13 17:54:56 -06:00
parent 9c0e03f947
commit 46eb3dfc31
9 changed files with 35 additions and 71 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def cutoff_arg(args):
def patient_access():
check = current_app.config.get('CAMA_COHORT_ACCESS')
if not callable(check) or not check(request):
if callable(check) and not check(request):
raise SelectionError('Acceso no autorizado', 403)