diff --git a/api/handlers.go b/api/handlers.go index 3754749..7d5dccc 100644 --- a/api/handlers.go +++ b/api/handlers.go @@ -411,6 +411,7 @@ func (h *Handlers) Me(w http.ResponseWriter, r *http.Request) { isSuperAdmin, _ := lib.IsSuperAdmin(h.DB, actorID) + testRole := TestRoleFromContext(r.Context()) JSONResponse(w, http.StatusOK, map[string]any{ "id": user.UserID, "name": user.Name, @@ -418,6 +419,7 @@ func (h *Handlers) Me(w http.ResponseWriter, r *http.Request) { "org_id": user.OrgID, "org_name": user.OrgName, "is_super_admin": isSuperAdmin, + "test_role": testRole, }) } diff --git a/data/dealspace.db-shm b/data/dealspace.db-shm index b57d88f..cb3a346 100644 Binary files a/data/dealspace.db-shm and b/data/dealspace.db-shm differ diff --git a/data/dealspace.db-wal b/data/dealspace.db-wal index e0bb0a5..d997589 100644 Binary files a/data/dealspace.db-wal and b/data/dealspace.db-wal differ diff --git a/dealspace b/dealspace index c675f10..e4cb705 100755 Binary files a/dealspace and b/dealspace differ diff --git a/portal/templates/app/request.html b/portal/templates/app/request.html index c0cf4f4..c740fdc 100644 --- a/portal/templates/app/request.html +++ b/portal/templates/app/request.html @@ -23,7 +23,7 @@

Request

-

Loading...

+

Loading...

@@ -110,7 +110,7 @@

Select a channel above.

-
+