fix another verify connectivity bug

This commit is contained in:
Chris
2026-01-21 15:39:17 -08:00
parent b42930dbc4
commit eaa2f56db0

View File

@@ -1,10 +1,10 @@
module Accounts
class StackManagersController < ApplicationController
before_action :authenticate_user!
before_action :authorize_account, except: [ :verify_url, :check_reachable ]
before_action :authorize_account, except: [ :verify_url, :check_reachable, :verify_connectivity ]
before_action :set_stack_manager, only: [ :show, :edit, :update, :destroy, :sync_clusters, :sync_registries ]
before_action :set_stack, only: [ :sync_clusters, :sync_registries ]
skip_before_action :authenticate_user!, only: [ :verify_url, :check_reachable ]
skip_before_action :authenticate_user!, only: [ :verify_url, :check_reachable, :verify_connectivity ]
def check_reachable
url = params[:stack_manager][:url]