title: How to add admin user in airflow?
body: <p>How to add admin user in airflow ?</p>
  
  <p>I want to use simple <strong>Web Authentication</strong>.
  If I add user as described in documentation <a href="http://airflow.apache.org/security.html#web-authentication" rel="nofollow noreferrer">airflow.apache.ort/security</a> then user is not an admin.</p>
  
  <p>code from docs:</p>
  
  <pre><code>import airflow
  from airflow import models, settings
  from airflow.contrib.auth.backends.password_auth import PasswordUser
  user = PasswordUser(models.User())
  user.username = 'new_user_name'
  user.email = 'new_user_email@example.com'
  user.password = 'set_the_password'
  session = settings.Session()
  session.add(user)
  session.commit()
  session.close()
  exit()
  </code></pre>