Issue Details (XML | Word | Printable)

Key: MDL-18520
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Dongsheng Cai
Reporter: Dongsheng Cai
Votes: 1
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16543

Develop a repository plugin to access file system and move SMB out from core

Created: 11/Mar/09 03:08 PM   Updated: 19/Mar/09 12:22 AM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

Environment: Linux

Participants: Dongsheng Cai and Martin Dougiamas
Security Level: None
QA Assignee: Martin Dougiamas
Difficulty: Moderate
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
SysAdmin create a directory on local server, moodle repository api will access this directory as repository.

BTW, this directory can be mounted from a remote server (for example, use sshfs or samba mount a remote server to local file system).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dongsheng Cai added a comment - 13/Mar/09 11:54 AM
Plugin created

Martin Dougiamas added a comment - 19/Mar/09 12:22 AM
This is working well, but there is a big problem with security currently.

It's too easy for the admin to check "course and user repositories", which basically lets every user see any file on the server operating system.

We need some solution to allow users to pick folders from a limited subdirectory, and perhaps we even need to force admins to specify such a directory.

Possibly users should never get to choose a directory (but the admin can set it for them).