Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Repository Administration Specification.

Development:Repository Administration Specification

From MoodleDocs

Functional Specification Revisions:

0.1 - 26/06/2008 - Jerome Mouneyrac - Draft Version

Audience:

Moodle Administrator/Developer/QA tester

Status:

not implemented

Related Documents:


Introduction

This document is about functional specification for Repository Administration

Requirements

  • be able to enable/disable a repository
  • be able to order a repository (it will change the way repositories are displayed for the user in the file picker)
  • be able to setup a repository

User Interface

We want something similar to Admin > Modules > Filters > Manage Filters (following a image example)

Admin repository.jpg

Settings operation

When user selects Settings operation for a repository, the system display a new page with a new form.
Settings options can be different for each module:

  • allow the user to "Remember password"
  • URL to the repository

Use Cases

UC001-1 Enable/Disable a repository

Base scenario

  1. User goes to the Repository Administration page
  2. User select Enable/Disable repository operation
  3. System displays the repository as Enable/Disable

Pre conditions

- the user has Admin permission in Moodle
- the repository is Disable/Enable

Post conditions

- the repository is available/not available

UC001-2 Order a repository

Base scenario

  1. User goes to the Repository Administration page
  2. User select Move operation for a repository
  3. System displays the new ordered repository list

Pre conditions

- the user has Admin permission in Moodle
- their is at least two repository in the list

Post conditions

- the repository has been moved (one step up or down the list) in the file picker

UC001-3 Setup a repository

Base scenario

  1. User goes to the Repository Administration page
  2. User select Settings operation for a repository
  3. System displays a save successfull message

Pre conditions

- the user has Admin permission in Moodle
- the repository has been installed and has settings available