UC-002 Open a delegated account — analysis realization
Requirements: README
| Overview | Requirements | Analysis | Design | Implementation | Tests |
|---|---|---|---|---|---|
| Use cases | Requirements | Analysis | Design | Implementation | Tests |
Requirements: README
Participating classes
Section titled “Participating classes”| Class | Stereotype | Responsibility |
|---|---|---|
| My accounts page | boundary | Lists the accounts and starts the session. |
| Delegation manager | control | Decides access and starts login-as. |
| Session guard | control | Verifies the session on every request. |
| Session permissions | control | Applies the overrides to the session. |
| Delegation | entity | The record that allows the session. |
Collaboration
Section titled “Collaboration”The marker of a delegated session lives in $SESSION and not in a cache, because Moodle replaces $SESSION when login-as starts. The same checks run when the session starts and on every later request.
DOC