From 05a33172fd2a1d3ff5aa2a743e3cb99a906356b9 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sat, 5 Aug 2023 20:58:08 +0100 Subject: [PATCH] chore: finish implementing ACLs --- app/panel/inspect/page.tsx | 7 ++++ lib/accessPermissions.ts | 69 ++++++++++++++++++++++++++++--- lib/actions.ts | 56 ++++++++++++++++--------- lib/constants.ts | 18 ++++++++- lib/db.ts | 83 +++++++++++++++++++++++++------------- lib/redis.ts | 4 +- 6 files changed, 180 insertions(+), 57 deletions(-) diff --git a/app/panel/inspect/page.tsx b/app/panel/inspect/page.tsx index 263a9d3..7ae0b0d 100644 --- a/app/panel/inspect/page.tsx +++ b/app/panel/inspect/page.tsx @@ -28,6 +28,13 @@ export default function Inspect() { > User +