module Graffiti
  class EditTagPolicy < ApplicationPolicy
    def index?
      allowed?
    end

    def show?
      allowed?
    end

    def edit?
      allowed?
    end

    def update?
      allowed?
    end

    def allowed?
      user.permitted? BeefCake::Permission.for(:graffiti)
    end
  end
end
