app/policies/policy/stop_area_referential.rb
# frozen_string_literal: true
module Policy
class StopAreaReferential < Base
authorize_by Strategy::Permission
protected
def _create?(resource_class)
[
::StopAreaProvider
].include?(resource_class)
end
def _update?
true
end
def _destroy?
true
end
end
end