Skip to content

How to Create a New User and Assign them a Site

julianrkung edited this page May 4, 2021 · 1 revision

Overview

This guide will cover how to

  1. Create a user with a specific username and password
  2. Assign sites to a newly created User

Creating a User

  1. Users should create an account by going to the production website's login page (https://meepanyar.netlify.app/login) and create an account by filling out their intended Username and Password and clicking "Create an account". The login page will be refreshed when the user has been successfully created.
    • CAUTION:
      • The User should not attempt to log in until they are assigned at least 1 Site via the Airtable UI (the section below). Doing so will cause an error in the app. If this happens, they can just navigate to the login page again and login again once they are assigned a site.
      • There are no circumstances where a User record should be created via the Airtable UI_. Our backend (Airlock) obfuscates (hashes) passwords so that they aren't stored in plaintext in Airtable.

Assigning a User a Site

  1. The above procedure only creates a User Record in Airtable. An Admin with access to the Airtable UI must:
    1. Navigate to the "Users" table in the Airtable UI.
    2. Identify the newly created User record. If the User was just created from the step above, it will have the same "Username" value as the Username put into the "Creating a User" section, but will not have the same "Password" value since our backend obfuscates passwords for security reasons.
    3. Link the User record the sites that they will be in charge of by clicking on the "Sites" cell for that User record and assigning the User one or more sites

Screenshot of a user with the username "testU" that is assigned a site called "Second Site"

image