aboutsummaryrefslogtreecommitdiffstats
path: root/app/policies/network_policy.rb
blob: 4c1ea1090543541bcce682bf68af5b6afe99e234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class NetworkPolicy < BoivPolicy
  class Scope < Scope
    def resolve
      scope
    end
  end

  def create?
    false
  end
  def update?  ; create? end
  def new?     ; create? end
  def edit?    ; create? end
  def destroy? ; create? end
end