diff --git a/Gemfile.lock b/Gemfile.lock index 2274a151d..591ecee6d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -142,12 +142,12 @@ GEM plek (>= 1.9.0) rack (>= 2.2.0) rest-client (~> 2.0) - gds-sso (19.0.0) + gds-sso (19.1.0) oauth2 (~> 2.0) omniauth (~> 2.1) omniauth-oauth2 (~> 1.8) - plek (>= 4, < 6) - rails (>= 6) + plek (>= 5) + rails (>= 7) warden (~> 1.2) warden-oauth2 (~> 0.0.1) globalid (1.2.1) @@ -698,7 +698,7 @@ GEM execjs (>= 0.3.0, < 3) unicode-display_width (2.5.0) uri (0.13.0) - version_gem (1.1.3) + version_gem (1.1.4) warden (1.2.9) rack (>= 2.0.9) warden-oauth2 (0.0.1) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b6df9b66f..67bd4bb87 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -50,7 +50,7 @@ def ensure_user_can_access_tagathon_tools! end def deny_access_to(subject) - raise PermissionDeniedException, "Sorry, you are not authorised to access this #{subject}." + raise PermissionDeniedError, "Sorry, you are not authorised to access this #{subject}." end def permission_checker