system-wide template-files for reuse, can manager upload files direct in moodle and not only ftp?

Re: system-wide template-files for reuse, can manager upload files direct in moodle and not only ftp?

by Randy Thornton -
Number of replies: 2
Picture of Documentation writers
The short answer to this is no: the file system repository is read-only by design from inside Moodle as far as users are concerned. You would need to use another repository type to allow users to upload or save files into the repository from inside Moodle.

Having said that, you are not limited to using just (S)FTP to upload files to the repository: you can use any method your server will support to put files there, as long as you are willing to set up the correct permissions and provide some alternate interface for users outside Moodle.

If WebDAV will not work for you, you might consider looking at the NextCloud integration, which is at least based on open source OwnCloud and can be installed locally.
Average of ratings: Useful (1)
In reply to Randy Thornton

Re: system-wide template-files for reuse, can manager upload files direct in moodle and not only ftp?

by Danijel Todic -
Thanks!

I configured the filesystem variant under admin/repository.php - a system-wide option for all courses.
But my problem is now, that the role editingteacher can't see the two filesystem repositories, the admin can see it.
I've checked the filesystem:view "Capabilities/repository/filesystem:view" and this is on allowed.
What can I check more, why our trainers don't see the system-wide filesystem repositories when uploading new files?
In reply to Danijel Todic

Re: system-wide template-files for reuse, can manager upload files direct in moodle and not only ftp?

by Randy Thornton -
Picture of Documentation writers

Is the repository set to "Enabled and visible" in the Manage repositories page?

If so, then both the teacher and non-editing teacher roles should be able to view the files in that repository when using the File picker - provided of course they are in a course and have the needed permissions to add files to the course or activity they are editing. Those permissions are already set by default for those roles.


Attachment screenshot_13669.jpg
Average of ratings: Useful (1)