⚒️

My Account Page

Users of your app who create an account will have access to their My Account page containing information like their profile as well as information that is related to them through linked records.
 
To help understand how this works, we will use this example Airtable base to build an employees directory app. Each Employee who creates an account will be able to:
  1. View and Edit their personal information
  1. View but not edit their department information.
 

Editing My Account Page

This is the completed My Account page for an employee. Without user permission rules, anyone would be able to view and edit information that’s related to them including the department.
notion image
 
  1. Click on the page selector from the editor and navigate to the My Account page.
    1. notion image
  1. Select a user group and user to view as.
    1. notion image
      In this case we are viewing as bkhan@example.com who belongs to the user group Employee.
  1. Hover over and click on the Edit Page button to update which fields to display for their profile.
    1. notion image
  1. Switch to the Department tab and follow step 3 to edit the page.
    1. notion image
 
By default, a user who is part of this group can view and edit the record. For our example, we do not want a user to edit their department information. To update the permission:
  1. Switch to the Actions tab to update what a user is allowed to do
    1. notion image
 
  1. Deselect Edit Record (4th option)
  1. Save changes
notion image
Success! Users who belong to the Employees group can only view department information now
 
Now let’s take a look at how we can allow some employees to update a department information. We can:
  1. Create a user group called Admin
  1. Complete the same steps as above
  1. In the actions tab, grant View and Edit permissions for the Admin user group
 

Creating a Test Account

For new apps without users, you can create a test account by:
  1. Clicking on View As…
    1. notion image
  1. Enter account credentials and assign the user to a user group(s)
    1. notion image
  1. Click Save