ETC-Genie-Logiciel-I/docs/1_Analyse/1.6_Robust.md
2023-06-03 18:07:33 -04:00

1.4 KiB

Analyse de robustesse

left to right direction
actor "Invité" as Guest
actor "Utilisateur" as User
actor "Modérateur" as Mod
actor "Administrateur" as Admin

Mod <|-- Admin
User <|-- Mod
Guest <|-- User


boundary "Écran Catégories" as CategoryView
boundary "Écran Fils" as ThreadView
boundary "Écran Publications" as PostView

boundary "Écran Comptes" as AccountView
boundary "Écran Bannir" as BanView
boundary "Écran Changer Rôle" as RoleView 
boundary "Écran Gestion Catégories" as ModCatView

control "Catégories" as CategoryController
control "Fils" as ThreadController
control "Publications" as PostController
control "Comptes" as AccountController

entity "Catégorie" as CategoryModel
entity "Fil" as ThreadModel
entity "Publication" as PostModel
entity "Compte" as AccountModel

Guest -> CategoryView
Guest --> ThreadView
Guest --> PostView
Guest --> AccountView

Mod --> BanView

Admin --> ModCatView
Admin --> RoleView

ModCatView --> CategoryController
RoleView --> AccountController
BanView --> AccountController
CategoryView --> CategoryController
ThreadView --> ThreadController
PostView --> PostController
AccountView --> AccountController

CategoryController --> CategoryModel

ThreadController --> ThreadModel
ThreadController --> PostModel

PostController --> PostModel
PostController --> AccountModel

AccountController --> AccountModel