Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Jan 18, 2025
1 parent 518ab55 commit c2321d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf/himari/config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ use(Himari::Middlewares::AuthorizationRule, name: 'grafana') do |context, decisi
end

use(Himari::Middlewares::AuthorizationRule, name: 'amc-github') do |context, decision|
next decision.skip!('client not in scope') unless context.client.name == 'amc' || context.client.name == 'amc-local' || context.client.name == 'amc-local2'
next decision.skip!('client not in scope') unless context.client.name == 'amc' || context.client.name == 'amc-local' || context.client.name == 'amc-mairu'
next decision.skip!('provider not in scope') unless context.user_data[:provider] == 'github'

groups = decision.claims.dig(:groups)
Expand Down

0 comments on commit c2321d5

Please # to comment.