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 ForumsDocumentsDocumentsUsers canUsers can't upload files? (DNN 05.01.01)
Previous
 
Next
New Post
8/18/2009 2:02 AM
 

I did inspect the source code from the URL control and found the following in the cmdUpload_Click event:

...
If Not cboFolders.Items.FindByValue(strSaveFolder) Is Nothing Then
... //this is not affected Else
If cboFolders.Items.Count > 0
... //this is not affected, too, but this is the point, because:
Else
... //here is the error message:
lblMessage.Text = Localization.GetString("NoWritePermission", Me.LocalResourceFile)
End If
End If
...

It seems to me that after the postback, the dropdownlist containing the folders is empty (even if it is not on the user interface). Is it possible that AJAX does something stupid? And if yes: Why does it work for Superusers and users of the Administrator role? And: Where can I turn off AJAX in DNN 05.01.01?

This suspect is hardened by the following observation: When I grant the user the right to View and Edit the File Manager page, he can click the Upload button in the File Manager when the affected folder is selected. But in the Upload dialogue, the dropdownlist for the folders is empty, and so, no upload is possible (it results in an error message saying something like there is no upload folder specified).

Thanks for any help
Michael

 
New Post
8/18/2009 4:02 AM
 

In the meantime I have found out that it works, when the role has read and write permissions in all folders above the affected folder, except the portal root. Both permissions have to be granted to the role explicitely in the whole folder tree, a view permission for "All users" or "Registered users" is not enough.

As I have a folder "Documents" under the portal's root, and subfolders for each workgroup there, this is not an acceptable solution. I don't want anyone to upload a document in the "Documents" folder, as all users are then able to view that document.

I reproduced this behaviour on my local machine as well, using DNN 05.00.00 and Windows XP.

Best wishes
Michael

 
New Post
8/18/2009 4:08 AM
 

Michael,

this seems to be a core permission bug, please log it into the public tracker (2nd from top) at support.dotnetnuke.com, thank you!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/18/2009 4:12 AM
 

Sebastian,

thanks for confirming that. In the meantime, I realized that not only the Documents module is affected, but also the Links module, and probably any other module that uses the URL control - or something deeper in the darkness of the FileManager class...

Best wishes
Michael

 
New Post
8/24/2009 4:17 AM
 

I created an entry on Gemini, you'll find it here:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10595&PROJID=23

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsUsers canUsers can't upload files? (DNN 05.01.01)


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