Users

What is a user?

A user is anyone who logs into your live app. A user can be your customer, employee, warehouse worker, or anyone you provide access to login to your app.Β 

Benefits of using users

Enabling user access is the best way to secure your application and has many benefits. By enabling user access you can:

  • Only show records based on who created them.

  • Only show records based on values from the logged in user

  • Restrict access to pages and rows depending on the role the user belongs to. Learn more about Roles here.

  • Track how and when users logged into your app

  • Group your users based on their role at the company

  • And much more.

Getting started with users

Each app comes with a default table called β€œUsers” which can be found in the Data Builder section. The Users table comes with four fields which can not be deleted but can be renamed.

  • Name

  • Email

  • Password

  • Status

  • Role

These fields serve a specific purpose in your app. We will outline each purpose and identify how and where it is used.

The Name field is used to identify your user in the users table. This is a basic text field and has the same rules as all text fields.Β 

The Email field is used as the primary method for users to login to your app. This value must be unique.

The Status field is used in conjunction with the Login Component. This field give you the flexibility to determine which users are allowed to login and which are not allowed to login. You can set these restrictions on the component level.

The Password field is used to set the password for each user logging into your app. You can create password policies as to what this password must contain. Password policy is not applied in the builder, only when using the signup component on the live app.

The Role field is how you assign which role/group this user belongs to. Roles enable you to restrict access based on the role of each user.Β 

Adding users

Users can be added in several ways, depending on your use case.

  • Builder

  • Signup component

  • Form component

Adding users in the builder

To add a user from within the builder, select the users table and click β€œAdd New Record.” This works similarly to how you would add a record in any other table.

Adding users via signup component

Inside the page builder there is a signup component that can be added anywhere you wish to give users the ability to signup and become a user.Β 

Adding users via forms

Since users are technically a record like any other, you can add users via a regular form. This would work similarly to the Signup component, but the signup component has additional features used for auto-logging users after they signup.

Editing users

Users can be edited in several ways, depending on your use case.

  • Builder

  • Signup component

  • Form component

Editing users in the builder

To edit a user from within the builder, select the pencil icon next to the user record you want to edit.Β 

Editing users via forms

Since users are technically a record like any other, you can edit users via a regular form. Click here to learn more about forms.Β 

Allowing users to edit their own account

Please see the Profile component to learn more how to allow users to customize and edit their own account. Click here to go to the Profile component