Cron Rules
The Cron Rules tab will allow you to add permissions for folders and files. This is useful if you're adding files through FTP and you want to apply permissions through the component. This works only for new files, not existing ones.
http://www.myWebsite.com/index.php?option=com_rsfiles&task=cron
General tab
Folders
Add or edit rules applied to folders. Type or select an option for the following:
- Can view folders: users belonging to the selected groups can view folders
- Can create folders: users belonging to the selected groups can create new folders
- Can upload files: users belonging to the selected groups can upload new files
- Can delete files: users belonging to the selected groups can delete folders
Files
Add or edit rules applied to files. Type or select an option for the following:
- Can view files: users belonging to the selected groups can view files
- Can download file: users belonging to the selected groups can download the file
- Can edit files: users belonging to the selected groups can edit files
- Can delete files: users belonging to the selected groups can delete files
Files details
Choose files related details or select an option for the following:
- File statistics: Yes / No - enabling this option will populate the Statistics tab with the following information: hit count, Date and time, Ip and Username
- File license: you can assign a configured license to the file
- Download method: File download / Email download
- Download limit: You can type here, the number of downloads that are available for the file
- Show Preview: show or hide the preview button from the frontend
Important:
This will not apply on sub-folders. If you want it applied on sub-folders as well, you'll have to create a Cron Rule for that particular sub-folder.
If you've used the "Synchronize files" feature, the files database entries will be created and the Cron Rules only works for new files not yet synchronized.
Log tab
The Log tab displays a list with files / folders added in the folder setup above, using this Cron rule.
5 persons found this article helpful.