Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle Repository Plugin

From MoodleDocs
Revision as of 03:23, 26 September 2008 by jerome mouneyrac (talk | contribs)

This functional specification is STILL UNDER CONSTRUCTION."


Functional Specification Revisions:

0.1 - 27/06/2008 - Jerome Mouneyrac - Draft Version
0.2 - 25/09/2008 - Jerome Mouneyrac - Updated draft version

Audience:

Developer/QA

Status:

not implemented (Tracker Issue)

Related Documents:


Introduction

This document is about functional specification for Moodle Repository Plugin (also referenced as Remote Moodle Repository Plugin). The Moodle Repository plugin allows a user to browse a foreign Moodle site in the File Picker. The user sees all the raw files he has access to there.

Requirements

  • Moodle administrator set which Moodle peer will be available into the file picker (one remote Moodle repository instance = one peer)
  • A peer can be linked to only one remote Moodle repository instance
  • Administrator need to have Enable SSO-IDP publish and subscribe, and SSO-SP publish and subscribe for the peer ???
  • Administrator can change the name and peer of a remote repository instance
  • Administrator can add/delete a remote repository instance
  • Administrator can add/delete remote repository plugin
  • A teacher cannot set a remote Moodle repository at the course level
  • Moodle user cannot set a remote Moodle repository at personal level
  • Only people with roles that have "Roam to a remote Moodle moodle/site:mnetlogintoremote" will see the Remote Moodle repository into the file picker (See Moodle Networking)
  • Remote repository display content as the Local repository plugin does. (The remote Moodle plugin behave exactly as if the user was using the file picker in Local => no enrolment into a course from the file picker)

User Interface

Administration: Plugin Settings

The administrator can add/delete the Remote Moodle Repository plugin. No settings are needed to the plugin level.

Administration: Instances Settings

A Moodle administrator can add/delete/edit instances. For an instance he can set:

  • Name
  • Moodle Peer

File Picker

when the user clicks on the Moodle repository, Moodle remote content is displayed. It is exactly the same content that would be displayed if the user was using the Local repository plugin in this remote Moodle.

Use Cases

UC004-1 Enable a connection to a Moodle Repository

Base scenario

  1. User goes to the "Moodle Repository" menu entry in the administration
  2. User selects enable for some Moodle repository
  3. System displays a "saved successfully" message

Pre conditions

- the Moodle Repository plugin is installed
- the user has Administrator role
- Some external Moodle have previously been added in the networking administration

Post conditions

- any user sees the external repository in their file picker

UC004-2 Unable a connection to a Moodle Repository