Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Repositories FAQ.

Repositories FAQ: Difference between revisions

From MoodleDocs
(copied from 2.2 docs)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{Repositories}}
==What is a repository?==
A repostitory can be thought of as a storage area from which users can retrieve files to add to their course. There are several repositories enabled by default, such as  [[Server files]] which contains files from other courses a user has access to, or [[Upload a file repository| Upload a file]] which allows the user to search their computer or USB drive for a file to upload. Other repositories include [[Google Docs repository|Google Docs]],or [[Flickr repository|Flickr]]. See [[Repositories]] for more information.


==How can I enable repositories in Moodle?==
==How can I enable repositories in Moodle?==


Repositories can be enabled by an administrator in ''Site administration > Plugins > Repositories > Manage repositories''.  
Repositories can be enabled by a site administrator in ''Settings > Site administration > Plugins > Repositories > Manage repositories''.  


All enabled and visible repositories will appear in the file picker.
All enabled and visible repositories will appear in the file picker.
Line 9: Line 11:
==How can I delete an embedded file previously added using the file picker?==
==How can I delete an embedded file previously added using the file picker?==


There is no need to do anything, as any unused files are detected and then deleted automatically after a period of time. Users cannot delete files manually, since they may be used elsewhere.
There is no easy way to delete files embedded in text editor areas, see MDL-28019 for more information.


==If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?==
==If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?==


Answer:
No. The file will not be available.


==How do I create a new repository on my site?==
==How do I create a new repository on my site?==
You can create a new repository that will show up on the file picker.   What needs to be done.
You can create a new repository that will show up on the file picker. See [[File system repository]].


==Other FAQ's==
==How can I prevent students from accessing the private files repository?==
If you want to prevent students from accessing it but still wish other users to access it, follow these steps:
#In ''Settings>Site administration>Users>Permissions>Define Roles'' create a new role (such as "no private files") and assign it in the system context. (See [[Creating custom roles]] for help creating a new role)
#Search for and set the capabilities ''moodle/user:manageownfiles'' and ''repository/user:view'' to '''prohibit.'''
#In ''Settngs>Site administration>Users>Permissions>Assign system roles'', give this role to the student(s) you do not wish to access private files.
#They may be enrolled as normal students in courses, but will not be able to use their private files.


[https://docs.moodle.org/en/File_system_repository_configuration#FAQ FAQ's for File System Repository]


==See also==
==See also==


* [[Repositories]]
* [[File picker FAQ]]
* [[File system repository FAQ]]
* Using Moodle [http://moodle.org/mod/forum/view.php?id=1807 Repositories forum]
* Using Moodle [http://moodle.org/mod/forum/view.php?id=1807 Repositories forum]


[[Category:Repositories]]
[[Category:FAQ]]
[[Category:FAQ]]


[[de:Repositories FAQ]]
[[de:Repositories FAQ]]
'''Bold text'''

Latest revision as of 21:07, 30 October 2012

What is a repository?

A repostitory can be thought of as a storage area from which users can retrieve files to add to their course. There are several repositories enabled by default, such as Server files which contains files from other courses a user has access to, or Upload a file which allows the user to search their computer or USB drive for a file to upload. Other repositories include Google Docs,or Flickr. See Repositories for more information.

How can I enable repositories in Moodle?

Repositories can be enabled by a site administrator in Settings > Site administration > Plugins > Repositories > Manage repositories.

All enabled and visible repositories will appear in the file picker.

How can I delete an embedded file previously added using the file picker?

There is no easy way to delete files embedded in text editor areas, see MDL-28019 for more information.

If I add a file (File resources) to a page, then delete the File resource, will the file I added remain in my Recent files list?

No. The file will not be available.

How do I create a new repository on my site?

You can create a new repository that will show up on the file picker. See File system repository.

How can I prevent students from accessing the private files repository?

If you want to prevent students from accessing it but still wish other users to access it, follow these steps:

  1. In Settings>Site administration>Users>Permissions>Define Roles create a new role (such as "no private files") and assign it in the system context. (See Creating custom roles for help creating a new role)
  2. Search for and set the capabilities moodle/user:manageownfiles and repository/user:view to prohibit.
  3. In Settngs>Site administration>Users>Permissions>Assign system roles, give this role to the student(s) you do not wish to access private files.
  4. They may be enrolled as normal students in courses, but will not be able to use their private files.


See also