Class: UffizziCore::Api::Cli::V1::Accounts::ClustersPolicy

Inherits:
UffizziCore::ApplicationPolicy
  • Object
show all
Defined in:
app/policies/uffizzi_core/api/cli/v1/accounts/clusters_policy.rb

Instance Method Summary collapse

Instance Method Details

#index?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/policies/uffizzi_core/api/cli/v1/accounts/clusters_policy.rb', line 4

def index?
  context.user_access_module.any_access_to_account?(context.user, context.)
end