Use shared access for synthetic breast follow-up
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user