Remove list_projects action from Google API check

This commit is contained in:
Matija Čupić 2018-05-02 17:28:21 +02:00
parent ae6a37d70d
commit 534bb0b617
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -1,7 +1,7 @@
class Projects::Clusters::GcpController < Projects::ApplicationController
before_action :authorize_read_cluster!
before_action :authorize_create_cluster!, only: [:new, :create]
before_action :authorize_google_api, except: [:login, :list_projects]
before_action :authorize_google_api, except: :login
def login
begin