Skip to content

Moodle plugin administration

This section is for support staff, administrators, and managers. It explains how to onboard the plugin on a client's Moodle, provision the IsardVDI secret, configure the plugin, manage roles, and understand compatibility.

Video walkthrough

This video demonstrates the complete administrator workflow. It covers creating the access key in IsardVDI and configuring the connector in Moodle:

On-screen captions are in English. The IsardVDI administration area is shown in English (the only language it currently offers); the Moodle interface is shown in the reader's language. The same walkthrough is also available in Catalan, Spanish, and Basque.

Requirements

  • Moodle 4.5 minimum, verified up to 5.2.1.
  • HTTPS on the Moodle site (required by the viewer and the tokens).
  • IsardVDI with apiv4 — the client's IsardVDI must be on the apiv4-integration line. An apiv3-only IsardVDI is not supported by this plugin version.
  • Access to install the plugin: SSH/Docker on the server, or permission to upload it from the site administration.

IsardVDI side — create the external secret

On IsardVDI, create the credentials the plugin will use and hand them over:

  1. Category (optional): Create a category for the Moodle users and note its UUID (not the name).
  2. External secret: Create it and record four values:
    • Key ID — a unique identifier (e.g. moodle-prod).
    • Domain — the client's Moodle domain (e.g. moodle.example.com).
    • Category ID — the category UUID.
    • Secret — the generated key.

These four values (Key ID, Domain, Category ID, Secret) are what you configure on the Moodle side.

Moodle side — install and configure

  1. Install the plugin (mod_isardvdi):
    • Docker: mount the plugin as a volume — on Moodle 4.5 at …/mod/isardvdi; on Moodle 5.1+ at …/public/mod/isardvdi.
    • Or upload it from Site administration → Notifications.
  2. Configure at Site administration → Plugins → Activity modules → Isard VDI Desktops: the IsardVDI URL, Key ID, Domain, Category ID, Secret, token expiry (e.g. 600 s), automatic teacher linking and logging (off in production).
  3. On save, the plugin validates the connection automatically: a green Connection successful banner means it works; a red banner means an error — the secret is not saved until the connection is valid.
  4. Share the IsardVDI templates with the category/users so teachers can pick them.

Onboarding checklist

  • Client's Moodle version confirmed (≥ 4.5).
  • Moodle served over HTTPS and installable.
  • Client's IsardVDI on the apiv4-integration line.
  • Category created in IsardVDI (if applicable) and UUID noted.
  • External secret created: Key ID, Domain, Category ID, Secret.
  • Plugin installed at the correct path for the Moodle version.
  • Configuration saved with Connection successful.
  • Templates shared with the Moodle category/users.
  • End-to-end test: link a teacher, deploy, start a desktop and open the viewer.

Who can do what — roles

The plugin ships 15 capabilities (mod/isardvdi:*) applied to the standard Moodle archetypes. Summary:

Action student teacher (non-editing) editing teacher manager
View the activity ✅ ✅ ✅ ✅
Create / delete the activity ❌ ❌ ✅ ✅
Manage desktops (deploy, start, stop, block, reset) ❌ ✅ ✅ ✅
Link users to IsardVDI ❌ ✅ ✅ ✅
View own desktop ✅ ❌ ✅ ✅
View other users' desktops ❌ ✅ ✅ ✅
Grade / view grades ❌ ✅ ✅ ✅
Manage global activities (site-wide) ❌ ❌ ❌ ✅

To let teachers manage desktops but not create/delete activities, remove the addinstance and deleteinstance capabilities from the Editing teacher role at Site administration → Users → Permissions → Define roles.

On the IsardVDI side, the plugin requests a role per operation (teachers act with an advanced role, students with a user role) through the external token. Impersonation stays restricted to the token's category.

Global activities

A manager can publish one IsardVDI activity to many courses at once from Site administration → Plugins → Activity modules → Global activities:

  • Desktop mode: Per-course (one deployment per course) or shared (one for everyone).
  • Course selection: All courses, by category, or manual — with automatic provisioning of new courses.
  • Management: Edit, sync, show/hide, stop all, block, and download a CSV of viewer URLs.

Version compatibility

  • Moodle: 4.5 minimum (no declared maximum); verified on 5.1 and 5.2.1 → practical range 4.5 → 5.2.1. On Moodle 5.1+ the plugin lives under public/mod/isardvdi.
  • IsardVDI: only the apiv4-integration line (apiv4 is not in a tagged release yet).

Uninstalling

Removing the plugin deletes its tables, capabilities, AJAX services, and configuration. It also removes the deployments it created in IsardVDI. Users created in IsardVDI are kept.