-
Notifications
You must be signed in to change notification settings - Fork 1
Advanced Panel Unlock
To make it security protections less obvious (and more difficult for students to suss out) there are three levels of password protection.
CAVEAT: This is low grade security at best and is relatively easy to work around.
By default, the "Advanced" panel is visible, but only the "Export" tab is visible.
At the bottom of the "Advanced" panel is an "admin" password input field with no "Submit" button.
- If
adminPassword
has not been defined however,Admin Mode Disabled
will be displayed.
For some projects, e.g. research groups, sometimes you need to allow a logged in user to be able to import node/edge data. There is a template setting that allows this:
allowLoggedInUserToImport = true
If this is set and a user is logged in, the "Import Data" panel will be visible.
A teacher can access three teacher-enabled advanced panel tabs using a password:
- Template -- import/export
- Import/Export -- nodes and edges
- User Tokens
In order to access those items, a teacher must enter a password.
- The phrase is defined in the project template's
adminPassword
field. - Each project can have its own password field, or of course, you can share it across instances.
- If
adminPassword
has not been defined however,Admin Mode Disabled
will be displayed. - There is no "Submit" button so the password is accepted as soon as the correct phrase is entered.
- Once the correct password has been entered, the input field will turn into a button "Admin Logout". Clicking that will re-enable the password input field. The password will remain active until you reload or click "Admin Logout"
If a teacher forgets the password, or a researcher needs to access the "Advanced" panel, what can they do?
We are disabling the ?admin=true
override, so you will have to look up the password via the template.
Digital Ocean On Digital Ocean, the fix is to look up the current template via ssh.
-
In web console, type
NC_CONFIG
to determine thedataset
name. -
SSH to Digital Ocean and look up the template:
ssh <digitalocean> cd nc-multiplex/netcreate-itest/runtime cat <dataset>.template.toml
-
Look for the
adminPassword
field.
Turbo360 On Turbo360, the fix is to look up the current template in Turbo360's portal.
- Go to
https://portal.turbo360.co/
and log in - Find the relevant project and click "Manage"
- Click on the "Site" sidebar
- Click on the "Storage" tab
- Click on the
<dataset>.template.toml
file to download it - Open the file and look for the
adminPassword
field.