diff --git a/.assets/flow-diagram.svg b/.assets/flow-diagram.svg index 89298fd..904bcf9 100644 --- a/.assets/flow-diagram.svg +++ b/.assets/flow-diagram.svg @@ -28,8 +28,8 @@ known_user_key - -known user key + +known user key @@ -40,8 +40,8 @@ unknown_user_key - -unknown user key + +unknown user key @@ -52,15 +52,15 @@ acl_manager - -ACL manager + +ACL manager known_user_key->acl_manager - - -user matches an existing host + + +user matches an existing host @@ -91,15 +91,15 @@ invite_manager - -invite manager + +invite manager unknown_user_key->invite_manager - - -user=invite:<token> + + +user=invite:<token> diff --git a/.assets/overview.dot b/.assets/overview.dot index 53444c8..c3a314d 100644 --- a/.assets/overview.dot +++ b/.assets/overview.dot @@ -2,15 +2,35 @@ graph { rankdir=LR; node[shape=box,style=rounded,style=rounded,fillcolor=gray]; - db[color=gray]; - user1 -- sshportal -- host1[color=red,penwidth=3.0]; - user2 -- sshportal -- host2[color=blue,penwidth=3.0]; - user3 -- sshportal -- host1[color=purple,penwidth=3.0]; - user2 -- sshportal -- host3[color=green,penwidth=3.0]; + subgraph cluster_sshportal { + sshportal[penwidth=3.0,color=brown,fontcolor=brown,fontsize=20]; + shell[label="built-in\nadmin shell",color=orange,fontcolor=orange]; + db[color=gray,fontcolor=gray,shape=circle]; + { rank=same; db; sshportal; shell } + } + + { + node[color="green"]; + host1; host2; host3; hostN; + } + + { + node[color="blue"]; + user1; user2; user3; userN; + } + + { + edge[penwidth=3.0]; + user1 -- sshportal -- host1[color=red]; + user2 -- sshportal -- host2[color=blue]; + user3 -- sshportal -- host1[color=purple]; + user2 -- sshportal -- host3[color=green]; + user2 -- sshportal -- shell[color=orange,constraint=false]; + } + userN -- sshportal[style=dotted]; sshportal -- hostN[style=dotted]; sshportal -- db[style=dotted,color=grey]; - { rank=same; sshportal; db; } -} \ No newline at end of file +} diff --git a/.assets/overview.svg b/.assets/overview.svg index ff9c7b1..e85a773 100644 --- a/.assets/overview.svg +++ b/.assets/overview.svg @@ -4,125 +4,146 @@ - - + + %3 - - - -db - -db - - - -user1 - -user1 + + +cluster_sshportal + - + sshportal - -sshportal + +sshportal - - -user1--sshportal - + + +shell + +built-in +admin shell + + + +sshportal--shell + + + + +db + +db - + sshportal--db - + host1 - -host1 + +host1 sshportal--host1 - + sshportal--host1 - + - + host2 - -host2 + +host2 sshportal--host2 - + - + host3 - -host3 + +host3 sshportal--host3 - + - + hostN - -hostN + +hostN - + sshportal--hostN - + + + + +user1 + +user1 + + + +user1--sshportal + - + user2 - + user2 user2--sshportal - + user2--sshportal - + + + + +user2--sshportal + - + user3 - + user3 user3--sshportal - + - + userN - + userN - + userN--sshportal - +