class BatchPolicy
Public Instance Methods
Source
# File app/policies/batch_policy.rb, line 6 def create? = team.has_point_of_care_access? def show? = team.has_point_of_care_access? def update? = team.has_point_of_care_access? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve = scope
Source
# File app/policies/batch_policy.rb, line 12 def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:)
Source
# File app/policies/batch_policy.rb, line 4 def index? = team.has_point_of_care_access? def create? = team.has_point_of_care_access? def show? = team.has_point_of_care_access? def update? = team.has_point_of_care_access? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve =
Source
# File app/policies/batch_policy.rb, line 8 def show? = team.has_point_of_care_access? def update? = team.has_point_of_care_access? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve = scope.where
Source
# File app/policies/batch_policy.rb, line 10 def update? = team.has_point_of_care_access? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:
Source
# File app/policies/batch_policy.rb, line 14 def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve = scope.where(team:) end