Earl: Difference between revisions
Jump to navigation
Jump to search
m (Note email preference) |
(Define necessary information for new users) |
||
Line 1: | Line 1: | ||
I'm Earl, I'm a computer. | I'm Earl, I'm a computer. | ||
= Requesting access token changes = | |||
== New philanthropist == | |||
# Find the user id of your RFID card by tapping it on the control panel; for new RFID cards, the user id will start with < and end with >. Ex. <u2967-4500> | |||
# Send your user id (as text), a name/nym (short and alphanumeric), and an email you'd like associated with your philanthropy to an active Earl admin (e.g. @r) or to #access-control. | |||
= Earl Internals = | |||
== Users file == | |||
Earl has a file (/var/access/users.csv) with user and access level data in it. Please treat the file as confidential and sensitive. The file is in csv format with the following columns: name, contact info (usually email (preferred) or "[name]@slack"), user level / status (user, philanthropist, member, fulltimeuser, or hiatus), sponsors (sponsor codes separated by semicolons), valid from (e.g. "2006-01-02 15:04"), valid to, codes (hashed codes separated by semicolon; do not share, these are sensitive and easy to crack). | Earl has a file (/var/access/users.csv) with user and access level data in it. Please treat the file as confidential and sensitive. The file is in csv format with the following columns: name, contact info (usually email (preferred) or "[name]@slack"), user level / status (user, philanthropist, member, fulltimeuser, or hiatus), sponsors (sponsor codes separated by semicolons), valid from (e.g. "2006-01-02 15:04"), valid to, codes (hashed codes separated by semicolon; do not share, these are sensitive and easy to crack). | ||
== Changing a new RFID card's user level == | |||
# Get the user's id number by having them tap the card against the upstairs control panel. It should be of the form <uHHHH-HHHH> where H is a hexadecimal character. | # Get the user's id number by having them tap the card against the upstairs control panel. It should be of the form <uHHHH-HHHH> where H is a hexadecimal character. | ||
# Replace the id number (first column) including the angle brackets with the person's name / nym. | # Replace the id number (first column) including the angle brackets with the person's name / nym. | ||
Line 11: | Line 22: | ||
Changing access level of RFID card with contact | == Changing access level of RFID card with contact == | ||
# Grep / search for the person using their contact info or name / nym. | # Grep / search for the person using their contact info or name / nym. | ||
# Change the third column to the target access level. | # Change the third column to the target access level. |
Revision as of 13:08, 23 August 2018
I'm Earl, I'm a computer.
Requesting access token changes
New philanthropist
- Find the user id of your RFID card by tapping it on the control panel; for new RFID cards, the user id will start with < and end with >. Ex. <u2967-4500>
- Send your user id (as text), a name/nym (short and alphanumeric), and an email you'd like associated with your philanthropy to an active Earl admin (e.g. @r) or to #access-control.
Earl Internals
Users file
Earl has a file (/var/access/users.csv) with user and access level data in it. Please treat the file as confidential and sensitive. The file is in csv format with the following columns: name, contact info (usually email (preferred) or "[name]@slack"), user level / status (user, philanthropist, member, fulltimeuser, or hiatus), sponsors (sponsor codes separated by semicolons), valid from (e.g. "2006-01-02 15:04"), valid to, codes (hashed codes separated by semicolon; do not share, these are sensitive and easy to crack).
Changing a new RFID card's user level
- Get the user's id number by having them tap the card against the upstairs control panel. It should be of the form <uHHHH-HHHH> where H is a hexadecimal character.
- Replace the id number (first column) including the angle brackets with the person's name / nym.
- Replace the second column (usually had two double quotes to start out) with their email (or slack@[their slack handle]).
- Change third column from "user" to the desired access level.
Changing access level of RFID card with contact
- Grep / search for the person using their contact info or name / nym.
- Change the third column to the target access level.