Updated sequence diagrams

This commit is contained in:
Jonas Haugland 2022-04-27 11:41:46 +02:00
parent 38e3318f3c
commit 0610cea001
4 changed files with 7 additions and 8 deletions

View File

@ -21,8 +21,8 @@ opt if (userIsAdmin)
else
Website->Admin: redirect(noSuchUserPage)
end
deactivate Website
deactivate Admin
end
deactivate Website
deactivate Admin
@enduml

View File

@ -33,18 +33,20 @@ alt Manage Teams
activate Server
Server-->Website: postTeam(team)
deactivate Server
Website-->Admin: showTeam(team)
Website-->Admin: showTeam(team)
deactivate Admin
deactivate Website
end
opt Delete
Admin->Website: deleteTeam(team)
activate Admin
activate Website
Admin->Website: deleteTeam(team)
Website->Server: removeTeam(team:id)
activate Server
Server-->Website: postTeam(team)
deactivate Server
Website-->Admin: updateTeamList(team)
Website-->Admin: updateTeamList(team)
opt Error
Website-->Admin: displayError(error)
end

View File

@ -71,7 +71,4 @@ deactivate Manager
deactivate Website
end
@enduml