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

    def create?
      allowed?
    end

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