Skip to content

Old Admin Guide

Robb edited this page Nov 18, 2022 · 1 revision

OLD Administration Guide

This document will entail how an Administrator would go about managing users and some of the data in the database (when it is actually integrated) for the system. It is fairly straight forward when it comes to accessing the admin screen and as of now anyone can do it due to the locality of the system.

Accessing Supabase Authorization and Database

What is nice about supabase is that the authorization (i.e. the registered accounts) and the database can be found in a very similar location. The following steps are how you can access the main hub.

Start up docker containers (if you do not know how to do that, check out the User Guide)

Go to your preferred browser and checkout port 3000 of localhost (localhost:3000)

Your screen should look like this:

Supabase 1

from there click on default project and it should take you to a new screen like so:

Supabase 2

You are in the hub for supabase now. The bar on the left under the green logo is where you can access the authorization page and the database. On the authorization page, you can see each user registered and can delete the user or send either a password recovery link or a “magic” link (unsure of what the magic link does). The other options are based on the database and allow for the admin to make changes to the database tables, view the tables, or look at the API commands that can help integrating supabase.

Viewing Users

As an admin, you have the ability to view users and see whether or not they have the ability to create an account, delete them, and also see their emails.

To view the users table navigate to the left of the system and select the two people symbol. It should look like this:

Supabase 3

Next, you will get three options. As shown below:

Supabase 4

Select the Users option to view the table of users. The table should look like this:

Supabase 5

Deleting Users: Deleting users is extremely simple. Use the same steps as above and navigate to the users table. When you go to the user row, there will be three eclipses. They are circled in the image below.

Supabase 6

Select that button and three options as shown below should appear. Click on the Delete User option as circled in the image.

Supabase 7

After clicking the button, you should receive this pop up.

Supabase 8

Select the Green Confirm Button. After the user is deleted you should get a notification on the upper right corner with the message:

Supabase 9

Creating and Adding Users via Email

Unfortunately, due to the scope and limitation of time, admins do not have the privilege or ability to invite users to Glados via email. This is simply due to Glados being a local application. However, this will change with future development.