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:
- View and Edit their personal information
- 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.
- Click on the page selector from the editor and navigate to the My Account page.
- Select a user group and user to view as.
In this case we are viewing as firstname.lastname@example.org who belongs to the user group Employee.
- Hover over and click on the Edit Page button to update which fields to display for their profile.
- Switch to the Department tab and follow step 3 to edit the page.
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:
- Switch to the Actions tab to update what a user is allowed to do
- Deselect Edit Record (4th option)
- Save changes
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:
- Create a user group called Admin
- Complete the same steps as above
- 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:
- Clicking on View As…
- Enter account credentials and assign the user to a user group(s)
- Click Save