#10 Added ability for users to be removed from the site.

This commit is contained in:
2024-02-13 22:48:23 +00:00
parent d6244223c4
commit 3dc7a1f861
11 changed files with 182 additions and 20 deletions

View File

@@ -11,13 +11,13 @@ blueprint = Blueprint("admin", __name__, url_prefix="/admin")
@blueprint.route('/')
def main_admin():
def main():
""" Function responsible for delivering the admin page for the site """
return "Hello, World"
@blueprint.route('/users/')
def admin_users():
def users():
""" Endpoint responsible for managing a users permissions """
# Get all users to create admin table on frontend
db = UserController()