Class: UffizziCore::Api::Cli::V1::Projects::Clusters::IngressesPolicy
- Inherits:
-
UffizziCore::ApplicationPolicy
- Object
- UffizziCore::ApplicationPolicy
- UffizziCore::Api::Cli::V1::Projects::Clusters::IngressesPolicy
- Defined in:
- app/policies/uffizzi_core/api/cli/v1/projects/clusters/ingresses_policy.rb
Instance Method Summary collapse
Instance Method Details
#index? ⇒ Boolean
4 5 6 7 8 |
# File 'app/policies/uffizzi_core/api/cli/v1/projects/clusters/ingresses_policy.rb', line 4 def index? return true if context.user_access_module.admin_access_to_project?(context.user, context.project) context.cluster.deployed_by_id == context.user.id end |