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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Administrators can't access users folderAdministrators can't access users folder
Previous
 
Next
New Post
11/27/2014 12:03 PM
 

Greetings everyone. Very interesting issue with users in Administrators role not being able to access their own user folder.

I've been using slightly modified version of DAM module but after I replaced my dll with original one from 7.3.3 upgrade packed the issue still persists.

I've spent a day looking trying to trace the root cause of this problem with no success. But I have noticed something very interesting with FolderPermission table.

 

 On my dev which is a fresh install of 7.3.3

  1. I don't get a FolderPermission record with AlloAccess=0 for Administrators role
  2. When I refresh the page the FolderPermissionID stays put.

 

On few client sites that we upgraded to 7.3.3

  1. I have a FolderPermission record with AllowAccess=0 for Administraotrs role
  2. When I refresh the page entire set of permissions for a given user folder (Users/005/05/5/ and every containing folder) gets wiped and reinserted again hence incrementing FolderPermissionID value.


It doesn't seem to be a problem with DAM module as we run modified version of dll. So the question them becomes what else would display such a behaviour of removing folder permission from the table and inserting them again every time a page is refreshed.


To replicate the problem:

  1. Add a page under Activity-Feed with DAM
  2. Crate new user
  3. Login as new user and visit Activity-Feed with DAM module to create that users folder
  4. Add that user too Administrators role
  5. Go back to Activity-Feed with DAM module


expected result:

User should be able to access their own folder and files


actual result:

user see blank DAM module and no right click context controls

 
New Post
11/27/2014 12:39 PM
 
thanks for the analysis -please log it to support.dnnsoftware.com, i suspect it may be related to a pull request we accepted that was a little cavalier with permissions

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/27/2014 3:17 PM
 
I would prefer all permission for users folders should just be faked(instead of persisted inividually in the database) - there is no usable UI to configure it - and not really a need.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2014 3:50 AM
 
cathal connolly wrote:
thanks for the analysis -please log it to support.dnnsoftware.com, i suspect it may be related to a pull request we accepted that was a little cavalier with permissions

 

Thank you Cathal for a speedy response. It was not exactly the answer I was looking for but I will log with support.

Perhaps you can link me or elaborate a bit on what that pull request you guys accepted so that perhaps I could root through the code to see what keeps resetting that nasty deny access permission for Administrators role.

All I need is a small bit of direction where to look.

 
New Post
11/28/2014 3:58 AM
 
Sebastian Leupold wrote:
I would prefer all permission for users folders should just be faked(instead of persisted inividually in the database) - there is no usable UI to configure it - and not really a need.

 

Thanks for you input Sebastia. To certain extent I agree but for the most part we managed to live with what is already there. By making few simple modifications to Digital Asset Manager we are able to allow access to users folders for certain roles. It's not ideal but for time being we've grown to accept it.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Administrators can't access users folderAdministrators can't access users folder


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