code: def tempallow(ip=None, ttl=None, port=None, direction=None, comment=''):
      '''
      Add an rule to the temporary ip allow list.
      See :func:`_access_rule`.
      1- Add an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.tempallow 127.0.0.1 3600 port=22 direction='in' comment='# Temp dev ssh access'
      '''
      return _tmp_access_rule('tempallow', ip, ttl, port, direction, commentf tempallow(ip=None, ttl=None, port=None, direction=None, comment=''):
      '''
      Add an rule to the temporary ip allow list.
      See :func:`_access_rule`.
      1- Add an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.tempallow 127.0.0.1 3600 port=22 direction='in' comment='# Temp dev ssh access'
      '''
      return _tmp_access_rule('tempallow', ip, ttl, port, direction, comment)
docs: Add an rule to the temporary ip allow list.
      See :func:`_access_rule`.
      1- Add an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.tempallow 127.0.0.1 3600 port=22 direction='in' comment='# Temp dev ssh access'