Commit 1502563

mo khan <mo@mokhan.ca>
2025-03-27 20:13:03
docs: provide ascii diagram of current architecture
1 parent a86fca4
Changed files (1)
doc
share
doc/share/authz/DESIGN.md
@@ -2,6 +2,30 @@
 
 ## Current
 
+### Architecture
+
+```plaintext
+ -------------
+ | user-agent |
+ -------------
+       |
+       V
+----|:443|------------------------------
+       |
+       V------------|
+       |            |
+       |------|     |
+       V      V     V
+       |    ---------------------------
+       |--->| IdP | CI | ... | Policy |
+       V    |-------------------------|
+       |--->| UI | REST API | ...     |
+       |    ---------------------------
+       V            A
+       |            |
+       |---->---->---
+```
+
 ## Proposed
 
 ### Architecture
@@ -19,11 +43,11 @@
  | API Gateway |
  ---------------
         |
-        |    --------------------
-        |--->| IdP (saml, oidc) |
-        |    --------------------
-        |    | :http   | :grpc  |
-        |    --------------------
+        |    -----------------------------
+        |--->| IdP (saml, oidc)          |
+        |    -----------------------------
+        |    | :http   | :grpc (Policy|  |
+        |    -----------------------------
         |        A         A
    -----------   |         |
    |         |   |         |