Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Add exam bank librarian to admins list #334

@some-molasses

Description

@some-molasses

@ webdev leads, this one is for you.

The VPA (Patrik) has asked that we set up exam_director@mathsoc.uwaterloo.ca as an admin on the site, so that they're able to update the exam bank.

Adding the email shouldn't be too hard to do, but we also need to update the server to reflect our changes.

Steps:

  • Update the list of admin users to include exam_director@mathsoc.uwaterloo.ca - it's in a config file somewhere. I believe if you ctrl+f @mathsoc.uwaterloo.ca, it should come up.
  • Commit the change to the repo
  • Restart the mathsoc website server
    • SSH into services.mathsoc.uwaterloo.ca. You'll need to set up your SSH key on Authman - there's steps in the MathSoc repos at gitlab.uwaterloo.ca. You'll also need to be either on-campus or on the campus VPN.
    • Once you're in, run sudo -i to authenticate. You won't be able to see any files without doing this.
    • Redeploy the website using the deploy.sh script in /root.
      • The website is being run through a service called mathsoc-website. You likely shouldn't need to touch it directly though - there's a deploy.sh script in the /root directory that you should be able to run, which will pull the new changes and restart the website. There's another one at /root/deploy iirc - either should work?
      • You can use journalctl commands to look into the mathsoc-website service and view logs, in the event that things really stop working.

Testing:

To test that the changes have deployed, you can try adding/removing webdev@mathsoc.uwaterloo.ca to the admin list manually. I believe you can go to /srv to find the website files; once there, navigate to the admins config file and add/remove the webdev email, then redeploy.

Alternatively, feel free to reach out to the VPA and coordinate testing with the exam directors!

Let me know if you get stuck with configuration or testing at any step of this - it's very possible I've forgotten to outline a step, or neglected to add permissions everywhere necessary.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions