Class: UffizziCore::Api::Cli::V1::Projects::Deployments::ActivityItemsPolicy
- Inherits:
-
UffizziCore::ApplicationPolicy
- Object
- UffizziCore::ApplicationPolicy
- UffizziCore::Api::Cli::V1::Projects::Deployments::ActivityItemsPolicy
- Defined in:
- app/policies/uffizzi_core/api/cli/v1/projects/deployments/activity_items_policy.rb
Instance Method Summary collapse
Instance Method Details
#index? ⇒ Boolean
4 5 6 |
# File 'app/policies/uffizzi_core/api/cli/v1/projects/deployments/activity_items_policy.rb', line 4 def index? context.user_access_module.any_access_to_project?(context.user, context.project) end |