Note:

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

Repository Interface for Moodle/Course/User: Difference between revisions

From MoodleDocs
No edit summary
Line 45: Line 45:
===UC002-1 User setup a repository===
===UC002-1 User setup a repository===
====Base scenario====
====Base scenario====
 
#User goes on his own repository interface page
#User select a repository in the list
#System displays account settings form for this repository
#User fills the form
#User selects Save operation
#System displays "success" message


====Pre conditions====
====Pre conditions====
 
* the repository plugin is set as Enable on the Repository administration page
* the repository can be set by User (TBD: how the system detects this)


====Post conditions====
====Post conditions====
 
* the user can connect to his repository


===UC002-2 Teacher setup a repository for a course===
===UC002-2 Teacher setup a repository for a course===
Line 58: Line 64:


====Pre conditions====
====Pre conditions====
 
same than UC002-1


====Post conditions====
====Post conditions====
#any users from this course can see the repository in their file picker (only when they are doing an action in this same course)


 
===UC002-3 Admin setup a repository for Moodle===
===UC002-3 Admin setup a repository===
====Base scenario====
====Base scenario====


====Pre conditions====
same than UC002-1


====Pre conditions====
====Post Condition conditions====
#any users can see the repository in their file picker

Revision as of 08:30, 27 June 2008

Functional Specification Revisions:

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

Audience:

Moodle Administrator/Developer/QA tester

Status:

not implemented (Tracker Issue)

Related Documents:


Introduction

This document is about functional specification of Repository Interface for Moodle/Course/User.

Requirements

  • user should be able to setup his repository accounts in his profil (new repository tab)
  • administrator should be able to setup repository (not the plugin but an access to an account) in the administration. It is used if the administrator whish to give access to a specific repository account at any users in Moodle.
  • teacher should also be able to setup repository accounts for a specific course.

User Interface

Access to a repository interface - User level

For confidentiality reason, a administrator is not allowed to setup a repository account at the user level. A tab named "Repositories" is displayed on the user profil page.

Access to a repository interface - Course level

For confidentiality reason, a administrator is not allowed to setup a repository account at the course level. In the course admin block, system display a new menu entry named "Repositories".

Access to a repository interface - Moodle level

In the repository menu (same level than "Manage Repositories"), system displays "Moodle Repositories Account"

Repository Interface

The window displays a list of repository that the user/teacher/administrator can access to. Each repository has its own setup interface. See repository plugin specification (TBD). Most of them should have:

  • "Remember password" checkbox (display only if the option has been allowed be the administrator in "Manage Repositories". In this case, it should be checked by default)
  • Login/Password (if the checkbox is checked.)
  • A warning message if there is nothing to setup for this repository

Use Cases

UC002-1 User setup a repository

Base scenario

  1. User goes on his own repository interface page
  2. User select a repository in the list
  3. System displays account settings form for this repository
  4. User fills the form
  5. User selects Save operation
  6. System displays "success" message

Pre conditions

  • the repository plugin is set as Enable on the Repository administration page
  • the repository can be set by User (TBD: how the system detects this)

Post conditions

  • the user can connect to his repository

UC002-2 Teacher setup a repository for a course

Base scenario

Pre conditions

same than UC002-1

Post conditions

  1. any users from this course can see the repository in their file picker (only when they are doing an action in this same course)

UC002-3 Admin setup a repository for Moodle

Base scenario

Pre conditions

same than UC002-1

Post Condition conditions

  1. any users can see the repository in their file picker