class WebConsole::Request

def permitted?

def permitted?
  permissions.include?(strict_remote_ip)
end

def strict_remote_ip

def strict_remote_ip
  GetSecureIp.new(self, permissions).to_s
rescue ActionDispatch::RemoteIp::IpSpoofAttackError
  "[Spoofed]"
end