Setting the role permissions for a folder
Administrators can set folders to enable one or more roles to have access to
view the files in the folder and to upload files to the folder via the add/edit
page of certain modules.
Here’s how to set the role permissions on a folder in the File Manager:
1. Click the Files button located in the Common Tasks section of the
Control Panel.
2. Navigate to and click on the name of the folder you want to set permission
for.
3. Go to the Folder Security Settings section and select <All Roles> if the
Filter by Group field is displayed.
This option is only visible if one or more role groups have been added to
the Web site as mentioned in “Adding a new role group” earlier in this
chapter. If this option isn’t displayed, skip to Step 4.
4. Select the check box beside each role in the View Folder column to
enable members of that role to view files in this folder.
This enables these role members to view the files within this folder
when they are displayed on the Web site. All Users is checked by default.
If All Users is not checked, people who aren’t logged in to Web site won’t
be able to view these folder files on their page and only members of the
selected roles will be able to see the files when logged in.
5. Select the check box beside each role in the Write to Folder column to
enable members of that role to upload files to this folder.
This enables these role members to upload new files to this folder.
Because these users cannot access the File Manager itself to upload new
files, access to upload files is achieved through adding or editing module
content. See “Uploading files without Administrator rights” later in this
chapter for more details.
6. Click the Update link.
Uploading files without
Administrator rights
Only Administrators can upload files with the File Manager interface; however,
users can upload files via the Add/Edit page of some modules. To do so, the
user must be a member of a role with access to upload files to one or more
File Manager folders. See “Setting the role permissions for a folder” for more
details.
The user must also be a member of a role with edit permissions of a module
that enables file upload. Modules that enable file upload are those that display
the Link Type field on the Add/Edit page. For example, the Announcements,
Blog, Documents, Links, News Feeds (RSS), and Media modules.
Here’s how role members with edit module permissions can view or upload a
file to the File Manager:
1. Select Add from the module menu.
This is the first item listed in the module menu. Depending on the module
you are using, the actual words displayed here will vary. For example, the
Links module displays Add Link, whereas the Announcements module displays
Add New Announcement.
2. Ensure that the page displays the Link Type field.
If the Link Type control is not displayed, this module does not allow files
to be uploaded.
3. Select the File (A File on Your Site) radio button below the Link Type
field.
This displays the File Location and File Name drop-down boxes. Any File
Manager folders that the user has view access to will be listed in the File
Location drop-down box.
4. Select the folder to view or upload the file to from the File Location
drop-down box.
This will list the files within the folder in the File Name drop-down box.
5. Click the Upload New File link.
If the Update New File link is not displayed, the user doesn’t have access
to upload files to this folder.
6. Click the Browse button and locate and select the file from your
computer.
This displays the filename in the text box to the left of the Browse button.
7. Click the Upload New File link.
This uploads the file to the File Manager and displays the filename in a
drop-down box. To upload more files, repeat Steps 4 through 7.