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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Bringing File Manager to any rolesBringing File Manager to any roles
Previous
 
Next
New Post
11/21/2008 1:55 PM
 

Saran wrote
Mamlin!!!

This is great stuff!!! You really made my day!!! Thanks a lot for that tip and timely help!!

Regards, Saran

Glad to help, Saran, especially on this particular topic since I had the very same question when I was first learning DNN (hmmmm....that's been several years and quite a few new versions of DNN but we still don't have granular security control of many of the more common admin tasks -- here's crossing my fingers for the successful release of the production version of DNN 5.x!).


esmamlin atxgeek.me
 
New Post
11/21/2008 2:39 PM
 

Hi Mamlin,

I got this issue when i tried to click upload in the FileManager tab.

"Either you are not currently logged in, or you do not have access to this content."

I 've created a role group and gave both view and edit permissions (like in Admin role) . But im not able to upload any documents.

Any thoughts? am i missing anything?

Thanks,
Saran

 
New Post
11/21/2008 3:44 PM
 

I did a quick look at the source code and found the following function in Admin\Files\WebUpload.ascx.vb file is restricting users in other role group to upload any files.

 Private Sub CheckSecurity()
            Dim DenyAccess As Boolean = False
            If PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName.ToString) = False And PortalSecurity.IsInRoles(UploadRoles) = False Then
                DenyAccess = True
            Else
                If IsAdminMenu Then
                    Select Case FileType
                        Case UploadType.LanguagePack, UploadType.Module
                            DenyAccess = True
                        Case UploadType.Skin, UploadType.Container
                            If (Convert.ToString(PortalSettings.HostSettings("SkinUpload")) = "G") And (UserInfo.IsSuperUser = False) Then
                                DenyAccess = True
                            End If
                    End Select
                End If

                If IsHostMenu Then
                    If Not UserInfo.IsSuperUser Then
                        DenyAccess = True
                    End If
                End If
            End If

            If DenyAccess Then
                Response.Redirect(NavigateURL("Access Denied"), True)
            End If

        End Sub

Do you have any shortcut fix without changing/modifying this source code and recompiling whole site??

Waiting for your reply...

Thanks!

 
New Post
11/21/2008 6:14 PM
 

Saran wrote
Hi Mamlin, 
I got this issue when i tried to click upload in the FileManager tab.

   "Either you are not currently logged in, or you do not have access to this content."

I 've created a role group and gave both view and edit permissions (like in Admin role) . But im not able to upload any documents.  Any thoughts? am i missing anything?

Thanks, Saran

Ah, my mistake -- sorry Saran!  I gave the steps for gettting admin pages out of the ADMIN tabs area but left out the super-special instructions for granting upload rights for the FILE MANAGER module.  Granting upload rights is a little harder than just moving the page was but it's not too hard as long as you have database access (you'll need to perform two SELECTs and one INSERT).

I've updated the original posting to include the special FILE MANAGER upload rights instructions:

   http://eguanasolutions.com/DNNBlog/tabid/54/EntryID/16/Default.aspx


-mamlin


esmamlin atxgeek.me
 
New Post
11/24/2008 3:10 PM
 

Hi Mamlin,

I followed each and every step you 've specified in the blog. But still I'm gettting the same message

"Either you are not currently logged in, or you do not have access to this content."

Still no luck! Am i missing something?

Thanks,

Saran

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Bringing File Manager to any rolesBringing File Manager to any roles


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