Skip to content
Didactika Docsby Didactika
EN

Language English

UC-002 Open a delegated account — analysis realization

Requirements: README

Moodle 5.3Inherited from Moodle 4.5 – 5.2
Overview Requirements Analysis Design Implementation Tests
Use cases Requirements Analysis Design Implementation Tests

Requirements: README

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

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.