From e6e0e2e495b5964c3d430850bbff72dc2110475d Mon Sep 17 00:00:00 2001 From: tnicolas1 Date: Thu, 13 Feb 2025 13:43:30 +0100 Subject: [PATCH] =?UTF-8?q?Gestion=20des=20acc=C3=A8s=20restreints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users/omniauth_callbacks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users/omniauth_callbacks_controller.rb b/app/controllers/users/omniauth_callbacks_controller.rb index e39be143f..e1a29fc30 100644 --- a/app/controllers/users/omniauth_callbacks_controller.rb +++ b/app/controllers/users/omniauth_callbacks_controller.rb @@ -55,7 +55,7 @@ def academic add_auth_breadcrumb(data: { user_id: @academic_user.id }, message: "Successfully parsed academic user") - # TODO: Check limited access to this part ? + raise IdentityMappers::Errors::NoLimitedAccessError if @mapper.aplypro_responsibilities.empty? sign_in(:academic_user, @academic_user)