Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Folder permission in sub solders
Last Post 09/10/2012 1:14 PM by Peter Donker. 7 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ram
New Member
New Member
Posts:3


--
08/31/2012 1:05 PM
Hi

I have a main folder and few subfolders for it like below structure

Main folder
---Sub folder A
---Sub folder B
---Sub folder C
---Sub folder D

No folder permission given to main folder and i had given folder permission for Sub folder B and Sub folder D to a user. But when i login as the user the folder B & D not showing for me.

Am i miss something or is it an issue with module?

Please can you let me know.

Thanks
Ram
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/31/2012 3:09 PM
Hi Ram,

The problem is the Main folder. The user can't see that so can never browse to B or D. Only a direct link to B or D would work. I.e. if he'd have a page where there was a DMX that started at folder B then he'd see this one just fine.

You'll need to reexamine how you do the permissions. If you set DMX to begin at Main folder or above, the user will need to have access to Main Folder.

Best,

Peter
BartS
New Member
New Member
Posts:12


--
09/05/2012 3:51 AM
Hi Peter
Thanks for your reply to the question above.
I have a follow-up question on that...

Lets take the example RAM has posted above and I'll explain what I am trying to do and maybe you could tell me what the best way is to set my permission up:

Main folder
---Sub folder A
---Sub folder B
---Sub folder C
---Sub folder D

I have two security roles on my DNN installation for the two departments that will use this system - Project Team, Contracts Team.
Each of these roles have users assigned to them.

I have given the Project Team access to Sub Folder A and B. The Contracts Team has access to to Folder C and D.

However, we have many cases where the Contracts Team will need to be able to download a file in Sub Folder A.
I don't wish to give them access to the whole folder because I don't want them to see all of the files in it - they should only be able access the one file.

The way I've done it so far is to actually give them access to Folder A but then take their view access away on each file in the folder accept for the one file that they need access to.

This works but it seems like a really admin intensive way of doing it. On top of that there is the chance that when an administrator add a new file they may forget to set the security on the new file and that will then allow the Contracts team to see this new file because it inherits its permissions from the parent.

This gets more complicated when we have sub folders in each of the main sub folders and this may go 8 levels deep sometimes.

Is there a better way of doing it?

Thanks
Bart
ram
New Member
New Member
Posts:3


--
09/05/2012 7:22 AM
Hi Peter

Now i given permission for the user to the main folder also. Now it shows sub folder to the user. But its not showing files under it. It shows only if i edit each file and give permission to the user.

Please can you let me know how to fix this issue.

Thanks
Ram
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/06/2012 6:53 PM
Use the "unify permissions on children" checkbox on the permissions screen when editing the permissions of the parent (i.e. the folder). It will reset all permissions of all children (recursively!).

Peter
BartS
New Member
New Member
Posts:12


--
09/06/2012 7:07 PM
Hi Peter
Could you perhaps explain what 'unify permissions on children' exactly mean and what that will do?
ram
New Member
New Member
Posts:3


--
09/07/2012 8:40 AM
Hi Peter

Thanks for your reply to the question above.

I have given the "unify permissions on children" permissions to parent folder. But the permission is not updated to the parent folder.

DNN version 6.1
Document Exchange version 6.0.0

Please can you let me know how to fix this issue.

Thanks
Ram
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/10/2012 1:14 PM
Hi Ram,

Keep in mind that the "unify" checkbox provokes a one-off action. I.e. you set permissions correctly on the parent and select "unify" and click OK. Then DMX begins setting the child permissions. But the unify box does not remain checked. It is not a permanent condition. So most importantly you need to set the permissions on the parent folder as you want them. Note that for children the ADD and EDIT permissions are merged from the parent folder!

Peter
You are not authorized to post a reply.