Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
11 stars 0 forks source link

admin-user-mgmt #33

Closed m4wh6k closed 1 year ago

m4wh6k commented 1 year ago

What and why?

Fixes #18

Screen Shot 2022-11-22 at 15 15 27

This change introduces a new "Admin" page to boardwalkd, along with some basic user management capabilities. The purpose of this update is to provide some way to at least disable users who have previously logged in, and to pave the way for other features that depend upon having an admin panel (such as service account support).

Some background: boardwalkd has a way to authenticate users, currently only with Google Oauth2. It's very simple; it just validates that user has a Google account, reads their email address, and then allows the user full access to the boardwalkd UI and API. They are issued a session token for the duration as configured by server options. The server doesn't re-authenticate the user with Google until the session token is invalidated. Before this change here, there was no way to disable a user before their session expired.

Items included with this change

Known issues and design notes:

How was this tested?

tested locally with the development server along with the test Boardwalkd.py. Testing included some manual confirmation that malformed requests will be rejected.

Checklist