Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListImage DataType Upload PermissionsImage DataType Upload Permissions
Previous
 
Next
New Post
4/18/2008 3:04 PM
 

How can I allow a registered user to upload a file to a specified directory when adding a new record in the UDT module?

 
New Post
4/18/2008 4:34 PM
 

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.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListImage DataType Upload PermissionsImage DataType Upload Permissions


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out