class CareplusReportPolicy
Public Instance Methods
Source
# File app/policies/careplus_report_policy.rb, line 8 def download? = show? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:) end
Source
# File app/policies/careplus_report_policy.rb, line 4 def index? = team.has_point_of_care_access? def show? = team.has_point_of_care_access? def download? = show? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:
Source
# File app/policies/careplus_report_policy.rb, line 6 def show? = team.has_point_of_care_access? def download? = show? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:)