Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Private files.

Private files: Difference between revisions

From MoodleDocs
(Private files capabilities)
(added link to screencast)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Repositories}}
{{Repositories}}
In Moodle, each user has a private files area for uploading and managing a set of files.
==The private files area==
Each user has a private files area for uploading and managing a set of files. If enabled by the administrator, users can also email files to their private files area (new in 2.8).


The private files area is accessible via ''Navigation > My home > My profile > My private files'' or the [[My private files block]]. If the private files repository is enabled by a site admin, it is available as a source within the filepicker when selecting files to use in a course.
The private files area can be accessed via ''Navigation > My home > My profile > My private files'' or the [[My private files block]]. If the private files repository is enabled by a site admin, it is available as a source within the filepicker when selecting files to use in a course.


==Private files management==
==Private files management==
Line 8: Line 9:
To add a file to your private files area
To add a file to your private files area
# On the Navigation menu, click My profile > My private files
# On the Navigation menu, click My profile > My private files
# Click "Manage my private files" button
# The file manager will appear.
# The standard file picker Add-Create folder popup will appear
# If desired, create a folder for your file(s)
# If desired, create or move to a folder
#Click on the Add button to upload from the File picker or drag and drop from your desktop. It will look like the files are already there, but they aren't until you '''do the next step!'''
#Click on the Add button  
#Browse for and select a file
# Click the 'Save changes' button
# Click the 'Save changes' button


[[Image:Files_standard_added_files_1.png|center|frame|Standard file add- create directory, showing 2 files]]
[[File:newprivatefiles.png]]
*Uploaded files may be downloaded, renamed, moved or deleted by clicking the icon next to the file. After making any changes, '''remember to click the 'Save changes' button'''.
 
*Once uploaded, files will appear as thumbnails. Clicking the icons top right will display them in table or list view as an alternative.
[[File:uploadedprivatefiles.png]]
 
==Emailing private files as an attachment==
{{New features}}
*This requires the administrator to have enabled incoming mail processing in ''Site administration>Server>[[Incoming mail configuration]]>Mail settings'' and Email to private files in ''Site administration>Server>[[Incoming mail configuration]]>Message handlers.''
*When these settings are enabled, users will see an email address in their private files screen:
 
[[File:EmailPrivateFiles28.png|center|thumb|600px]]
 
*This is the email address to which the email including the attached file should be sent. It will appear after cron in the user's private files after cron has run.
*For a demonstration of emailing to private files, [http://youtu.be/3cElj4svlQQ?t=1m8s  watch the  Usability screencast] from Moodle HQ, starting at 1m8s.
 
==Making an alias/shortcut to a file in the private files area==
 
If a file is uploaded into your private files area, it is possible when using it elsewhere on Moodle to select it as an alias/shortcut. This means that if you update the file in your private files area, it will automatically update elsewhere on Moodle.
 
[[File:privatefilesalias.png]]
 
See [[Working with files]] for more information.


==Private files size limit==
==Private files size limit==


The size limit for each user's private files area is set by a site administrator in ''Settings > Site administration > Security > Site policies''.
The size limit for each user's private files area is set by a site administrator in User quota in ''Administration > Site administration > Security > Site policies''.
 
==Preventing access to Private files==
*To prevent all users having access to Private files, the administrator should disable the repository in ''Administration>Site administration>Plugins>Repositories>Manage repositories.'' and in ''Administration>Site administration>Users>Permissions>Define Roles'' edit the authenticated user role and set the capabilities 'moodle/user:manageownfiles' and 'repository/user:view' to prohibit.
*If  only students are to be prevented from accessing private files (but teachers etc, allowed) then a new role should be made and assigned system wide. See FAQ 6 in [[Repositories FAQ]] for more information.


==Private files capabilities==
==Private files capabilities==
Line 27: Line 50:
*[[Capabilities/repository/user:view|View user private files]]
*[[Capabilities/repository/user:view|View user private files]]


[[es:Archivos privados]]
[[eu:Fitxategi_pribatuak]]
[[eu:Fitxategi_pribatuak]]
[[fr:Fichiers personnels]]
[[fr:Fichiers personnels]]
[[ja:プライベートファイル]]
[[ja:プライベートファイル]]
[[de:Eigene Dateien]]
[[de:Eigene Dateien]]

Latest revision as of 12:05, 10 November 2014

The private files area

Each user has a private files area for uploading and managing a set of files. If enabled by the administrator, users can also email files to their private files area (new in 2.8).

The private files area can be accessed via Navigation > My home > My profile > My private files or the My private files block. If the private files repository is enabled by a site admin, it is available as a source within the filepicker when selecting files to use in a course.

Private files management

To add a file to your private files area

  1. On the Navigation menu, click My profile > My private files
  2. The file manager will appear.
  3. If desired, create a folder for your file(s)
  4. Click on the Add button to upload from the File picker or drag and drop from your desktop. It will look like the files are already there, but they aren't until you do the next step!
  5. Click the 'Save changes' button

newprivatefiles.png

  • Once uploaded, files will appear as thumbnails. Clicking the icons top right will display them in table or list view as an alternative.

uploadedprivatefiles.png

Emailing private files as an attachment

New feature
in Moodle 2.8!

  • This requires the administrator to have enabled incoming mail processing in Site administration>Server>Incoming mail configuration>Mail settings and Email to private files in Site administration>Server>Incoming mail configuration>Message handlers.
  • When these settings are enabled, users will see an email address in their private files screen:
EmailPrivateFiles28.png
  • This is the email address to which the email including the attached file should be sent. It will appear after cron in the user's private files after cron has run.
  • For a demonstration of emailing to private files, watch the Usability screencast from Moodle HQ, starting at 1m8s.

Making an alias/shortcut to a file in the private files area

If a file is uploaded into your private files area, it is possible when using it elsewhere on Moodle to select it as an alias/shortcut. This means that if you update the file in your private files area, it will automatically update elsewhere on Moodle.

privatefilesalias.png

See Working with files for more information.

Private files size limit

The size limit for each user's private files area is set by a site administrator in User quota in Administration > Site administration > Security > Site policies.

Preventing access to Private files

  • To prevent all users having access to Private files, the administrator should disable the repository in Administration>Site administration>Plugins>Repositories>Manage repositories. and in Administration>Site administration>Users>Permissions>Define Roles edit the authenticated user role and set the capabilities 'moodle/user:manageownfiles' and 'repository/user:view' to prohibit.
  • If only students are to be prevented from accessing private files (but teachers etc, allowed) then a new role should be made and assigned system wide. See FAQ 6 in Repositories FAQ for more information.

Private files capabilities