Access Control
Access to content is controlled by three factors: realm (subdomain), role, and enrollment.
Subdomain Policies
Each subdomain serves a distinct user type and enforces its own access rules.
student.localhost:5173
For general registered users. Learners must be enrolled in content to access it.
studio.localhost:5173
For users with the editor role. Editors can create content and edit content they own.
Editors can test their own content in preview mode.
tutor.localhost:5173
For users with the tutor role. Tutors can grade assessments they have been assigned to.
Tutors can also test assigned content in preview mode.
desk.localhost:5173
For users with the desk role. Desk staff can test all content in preview mode and impersonate other users (read-only).
Enrollment-based Access
All content requires enrollment to access by default.
- Enrollments are granted by admins or operators.
- Without enrollment, all actions are blocked — viewing, taking exams, submitting assignments, etc.
Exception 1: Public Access
Media content can be set to Public Access, which allows access without enrollment.
Condition merging
If a learner has both a Public Access record and an enrollment for the same content, Minima automatically applies the more favorable conditions: the earlier start date, and the later end and archive dates. No manual configuration needed.
Exception 2: Anonymous Surveys
Surveys set to anonymous mode can be taken without logging in, from outside the platform.
Access Date Stages
Every enrollment and Public Access record has three dates. Access state is determined by the current time.
| Stage | Condition | Access |
|---|---|---|
| Before start | now < start |
Blocked |
| Active | start ≤ now < end |
Full read and write |
| Read-only | end ≤ now < archive |
View only — no submissions or attempts |
| Archived | now ≥ archive |
Blocked |
Course Context
When content is accessed within a course, the course's access dates take precedence over the content's own dates.
- Example: Exam B is part of Course A. Access is determined by Course A's dates, not Exam B's enrollment dates.
- For quizzes embedded inside media, the parent media's course dates apply — not the quiz's own dates.