class ConsentFormPolicy
Public Instance Methods
Source
# File app/policies/consent_form_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 search? = show? def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ?
Source
# File app/policies/consent_form_policy.rb, line 18 def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope.none
Source
# File app/policies/consent_form_policy.rb, line 14 def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) :
Source
# File app/policies/consent_form_policy.rb, line 24 def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope.none end end
Source
# File app/policies/consent_form_policy.rb, line 20 def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope.none
Source
# File app/policies/consent_form_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 search? = show? def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team
Source
# File app/policies/consent_form_policy.rb, line 16 def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope
Source
# File app/policies/consent_form_policy.rb, line 12 def search? = show? def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team)
Source
# File app/policies/consent_form_policy.rb, line 8 def show? = team.has_point_of_care_access? def update? = team.has_point_of_care_access? def search? = show? def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.
Source
# File app/policies/consent_form_policy.rb, line 10 def update? = team.has_point_of_care_access? def search? = show? def download? = show? def new_patient? = new? def create_patient? = create? def edit_match? = edit? def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(
Source
# File app/policies/consent_form_policy.rb, line 26 def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope.none end end end
Source
# File app/policies/consent_form_policy.rb, line 22 def update_match? = update? def edit_archive? = edit? def update_archive? = update? class Scope < ApplicationPolicy::Scope def resolve team ? scope.for_team(team) : scope.none end