@startuml hide footbox actor "管理者A" as adminA actor "管理者B" as adminB actor "カスタマー" as customer participant "index.php" as index participant "EC-CUBE" as eccube group 管理者Aがメンテナンスモード開始 adminA -> index ++ : POST /content/maintenance activate adminA index -> eccube ++ eccube -> eccube : ランダムな文字列でキーを生成 eccube -> eccube : キーをCookieにセット(メンテナンスCookie) eccube -> eccube : キーを含むメンテナンスファイル作成 return return end group 管理者Aがフロントにアクセス adminA -> index ++ : GET / index -> index: メンテナンスCookieがあるか? index -> index : メンテナンスファイルの内容とメンテナンスCookieを比較 index -> eccube ++ return return 200 OK end group 管理者Aが管理画面にアクセス adminA -> index ++ : GET /admin/ index -> index : 管理画面URLかどうか? index -> eccube ++ eccube -> eccube : 認証済みかどうか? return return 200 OK deactivate adminA end group 管理者B(未認証)が管理画面にアクセス adminB -> index ++ : GET /admin/ activate adminB index -> index : 管理画面URLかどうか? index -> eccube ++ eccube -> eccube : 認証済みかどうか? return return 302 /admin/login adminB -> index ++ : GET /admin/login index -> eccube ++ return return 200 OK adminB -> index ++ : POST /admin/login index -> eccube ++ return return 302 /admin/ adminB -> index ++ : POST /admin/ index -> eccube ++ eccube -> eccube : メンテナンスCookieを設定 note right: これ以降は管理者Bも\nフロントにアクセスできる return return 200 OK deactivate adminB end group カスタマーがフロントにアクセス customer -> index ++ : GET / activate customer index -> index : メンテナンスCookieがあるか? return 503 Service Temporarily Unavailable deactivate customer end @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art