on 02-10-2010 9:33 AM
Hi All,
I have a scenario in my project.
I have users divided on the basis of Regions, each Region have 5 folders. So I have created 5 navigation Iviews to point to each folder. Similarly there are 20 Regions (containing 5 folders each).
The user from Region1 should not see the files uploaded from the users belonging to Region2 and soon.(So i have created separate folder structure for each Region in KM reposatory).
Now do I have to create 20 Regions x 5 folders = 100 Navigation Iviews in this case or is there any alternative ?
Please guide me on this.
Thanks in Advance,
Pavan
Dear Pavan,
if I get you right, then you do not need to write any code to do that. The navigation iView checks the permissions when it displays a folderstructure and filters out the folders you are not allowed to see (unless you are a superadmin, see last line of this post). So in the example of Raghu and Lorcan the users will only see the folders they have permission for.
e.g. from Raghu and Loran:
You point the navigation iView to the path /documents
You have the user groups: Region 1, Region 2, Region 3
Folder structure below /documents is: /documents/Folder1, /documents/Folder2, /documents/Folder3
On Folder1 the group Region 1 has Permission and on Folder2 the Region 2 and so forth.
When logging on with a user belonging to Region 1, the user will only see the path /documents/Folder 1 in the Navigation iView.
To make sure that works, verify that all users of Region 1 are no super administrators because if they are, they are implicit permission owner and see everything.
Regards,
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
As suggested by Raghu, you need to assign your users to groups or roles and define strict permissions on each region folder for these groups or roles.
E.g. User groups: Region 1, Region 2, Region 3
Folder structure: /documents/Folder1, /documents/Folder2, /documents/Folder3
Assign all users read permission on the /documents folder but then just assign the specific groups permissions on the subfolders. So give Region1 group of users read permissions to /documents/Folder1 and no permissions on Folder2 or Folder3.
This way you can have one iview pointing to /documents which all users can access but the users will only see the subfolders depending on which group they belong to.
Regards,
Lorcan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't see anyother way of doing this. you have to create a separate role for each user group for each region.
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.