Admin App
This is intended to be an easy-to-use web-based tool for administering a liaison-powered website.
Currently, there is a page at /admin/
which doesn't do anything yet. Another page at /admin/initial-setup/
where you can initialize db settings, initialize the user database tables, and setup an admin user.
All the code is pretty ... yucky. But it works.
I would like to add more features. I would like to clean up the code, probably. I need security checks so that randos can't just use the admin pages.
I eventually will need to separate out this test server into a proper liaison app, as its own repo.
the 'Main' app will be removed from the final product. It's just what is there with an initial server setup.
Nov 12, 2022
- Added: Basic admin app, init page, create user with admin role, setup db settings, crate user tables
- TODO: refactor, protect init pages
- State: (see nov 13)
Nov 13, 2022
- Added: user management page, create role, add role, remove role
- TODO: refactor, protect init pages, verify all other pages are protected
- State:
-
public/admin/init/*
contains scripts to setup an admin user, CREATE user tables, and setup.env/settings.json
-
public/admin/user/*
containsindex.php
with forms for user management,@POST.roles.php
that process reqursts from index.php - Features: setup db settings in
.env/settings.json
, CREATE user tables, INSERT admin user, INSERT new role, INSERT role for user, DELETE role of user
-