Skip to content

Commit

Permalink
Merge pull request #1686 from alphagov/dependabot/bundler/gds-sso-19.1.0
Browse files Browse the repository at this point in the history
Bump gds-sso from 19.0.0 to 19.1.0
  • Loading branch information
mtaylorgds authored May 7, 2024
2 parents 58f2309 + f2e7804 commit 82d9bd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82d9bd5

Please sign in to comment.